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๋กœ ์„ค์ •๋ฉ๋‹ˆ๋‹ค.")