aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/evergreen/profile_pic_modification/pfp_modify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
index 9b874900..aa0f0404 100644
--- a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
+++ b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
@@ -241,11 +241,11 @@ class PfpModify(commands.Cog):
user = ctx.message.author
async with ctx.typing():
- image_bytes = await ctx.author.avatar_url.read()
+ image_bytes = await user.avatar_url.read()
file_name = FILENAME_STRING.format(
effect="spooky_avatar",
- author=ctx.author.display_name
+ author=user.display_name
)
file = await in_executor(
PfpEffects.apply_effect,