Skip to content

Instantly share code, notes, and snippets.

View juni37's full-sized avatar
🏠
Working & Studying Development!

Paul Kim juni37

🏠
Working & Studying Development!
View GitHub Profile
@client.command(aliases=['hkdev', 'HKDev', 'hk', 'HK', 'leaderboard', 'lb', '하이케이', '에이치케이', '리더보드', 'ㅣㅠ'])
async def _leaderboard(ctx, count=None):
try:
if count == None:
count = '10'
elif int(count) < 10:
await ctx.send("10 이상의 수를 입력해 주세요!")
return None
elif int(count) > 25:
await ctx.send("숫자가 너무 큽니다! 최대 값인 25로 설정됩니다.")