From 2095d63f383438b5ea9e265c593ee25070002868 Mon Sep 17 00:00:00 2001 From: Suhail6inkling <38522108+Suhail6inkling@users.noreply.github.com> Date: Fri, 17 May 2019 12:24:42 +0100 Subject: Add a missing await to coroutine Co-Authored-By: S. Co1 --- bot/seasons/pride/pride_avatar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/seasons/pride/pride_avatar.py b/bot/seasons/pride/pride_avatar.py index b5038f02..e89f136b 100644 --- a/bot/seasons/pride/pride_avatar.py +++ b/bot/seasons/pride/pride_avatar.py @@ -101,7 +101,7 @@ class PrideAvatar(commands.Cog): async with ctx.typing(): # Get avatar bytes - image_bytes = ctx.author.avatar_url.read() + image_bytes = await ctx.author.avatar_url.read() avatar = Image.open(BytesIO(image_bytes)) avatar = avatar.convert("RGBA").resize((1024, 1024)) -- cgit v1.2.3