aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-04-12 21:40:05 +0100
committerGravatar Chris <[email protected]>2021-04-12 21:40:05 +0100
commit442391dfbafa3b3848a030301702031f01320fdd (patch)
tree3a8c7a3ccb08a7f7cb4959fc19060fa1dbe7f3ee
parentChange to pillow-simd (diff)
Request the pfp as the right size from discord
-rw-r--r--bot/exts/evergreen/profile_pic_modification/pfp_modify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
index 68d68927..51999fb0 100644
--- a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
+++ b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
@@ -215,7 +215,7 @@ class PfpModify(commands.Cog):
if not member:
await ctx.send(f"{Emojis.cross_mark} Could not get member info.")
return
- image_bytes = await member.avatar_url.read()
+ image_bytes = await member.avatar_url_as(size=1024).read()
await self.send_pride_image(ctx, image_bytes, pixels, flag, option)
@prideavatar.command()