diff options
| author | 2019-05-17 12:24:42 +0100 | |
|---|---|---|
| committer | 2019-05-17 12:24:42 +0100 | |
| commit | 2095d63f383438b5ea9e265c593ee25070002868 (patch) | |
| tree | fea2f652215325a263f904b45efbb4a45e0ceee5 | |
| parent | remove debug print statements (diff) | |
Add a missing await to coroutine
Co-Authored-By: S. Co1 <[email protected]>
| -rw-r--r-- | bot/seasons/pride/pride_avatar.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |