1
0
Fork 0
mirror of synced 2024-09-28 07:21:16 +12:00

Fixed syntax error

This commit is contained in:
Phxntxm 2016-07-17 10:25:06 -05:00
parent 071ea01426
commit dc8b14f581

View file

@ -42,7 +42,7 @@ class Stats:
await self.bot.say("You have not booped anyone {} Why the heck not...?".format(ctx.message.author.mention))
return
output = "You have booped:"
for b_id,amt in boops.get(ctx.message.author.id):
for b_id,amt in boops.get(ctx.message.author.id).items():
member = find(lambda m: m.id == b_id, self.bot.get_all_members())
if member in members:
output += "\n{0.name}: {1} times".format(member.name, amt)