1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Passed the member instead of the user string

This commit is contained in:
Phxntxm 2016-10-28 22:34:50 -05:00
parent 6f3595f6de
commit 52a979bc78

View file

@ -92,7 +92,7 @@ class Osu:
# Attempt to create our banner and upload that
# If we can't find the images needed, or don't have permissions, just send a message instead
try:
banner = await images.create_banner(user, "Osu User Stats", fmt)
banner = await images.create_banner(ctx.message.author, "Osu User Stats", fmt)
await self.bot.upload(banner)
except (FileNotFoundError, discord.Forbidden):
_fmt = "\n".join("{}: {}".format(k, r) for k, r in fmt.items())