From 52a979bc787c4f37deae882e2a0539054ae30390 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Fri, 28 Oct 2016 22:34:50 -0500 Subject: [PATCH] Passed the member instead of the user string --- cogs/osu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/osu.py b/cogs/osu.py index 701112c..181df4a 100644 --- a/cogs/osu.py +++ b/cogs/osu.py @@ -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())