aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/evergreen/profile_pic_modification/pfp_modify.py6
1 files changed, 4 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 a58f44d2..f3e8d426 100644
--- a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
+++ b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py
@@ -156,7 +156,8 @@ class PfpModify(commands.Cog):
pixels = max(0, min(512, pixels))
flag = self.GENDER_OPTIONS.get(option)
if flag is None:
- return await ctx.send("I don't have that flag!")
+ await ctx.send("I don't have that flag!")
+ return
async with ctx.typing():
image_bytes = await ctx.author.avatar_url.read()
@@ -176,7 +177,8 @@ class PfpModify(commands.Cog):
pixels = max(0, min(512, pixels))
flag = self.GENDER_OPTIONS.get(option)
if flag is None:
- return await ctx.send("I don't have that flag!")
+ await ctx.send("I don't have that flag!")
+ return
async with ctx.typing():
async with self.bot.http_session as session: