1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-10-30 17:09:53 -05:00
parent 6ac47c3602
commit b4e7f4adbe

View file

@ -197,7 +197,7 @@ class Stats:
banner = await images.create_banner(ctx.message.author, "Battling Leaderboard", output)
await self.bot.upload(banner)
except (FileNotFoundError, discord.Forbidden):
fmt = "\n".join("#{}) {}".format(key, value) for key, value in output
fmt = "\n".join("#{}) {}".format(key, value) for key, value in output)
await self.bot.say("Battling leaderboard for this server:```\n{}```".format(fmt))
@commands.command(pass_context=True, no_pm=True)