1
0
Fork 0
mirror of synced 2024-06-25 01:31:04 +12:00

Changed up leaderboard to print just the first 10

This commit is contained in:
Phxntxm 2016-08-21 14:49:43 -05:00
parent 9c03d61439
commit c6e057ad67

View file

@ -74,7 +74,7 @@ class Stats:
member = discord.utils.get(ctx.message.server.members, id=member_id)
fmt += "#{}) {} (Rating: {})\n".format(count, member.display_name, stats.get('rating'))
count += 1
if count >= 10:
if count >= 11:
break
await self.bot.say("Battling leaderboard for this server:```\n{}```".format(fmt))