This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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로 설정됩니다.") |