aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-04-20 16:13:57 -0400
committerGravatar ToxicKidz <[email protected]>2021-04-20 16:13:57 -0400
commitdaf7dc79753d0d4482f58ddcad0ee2a7f7a244c1 (patch)
tree1acfc86af4c85322ca08123c63a34ec32c832b23 /bot
parentfix: Use name.replace not text.replace (diff)
chore: use 'nickname' and 'display name' in the right places and use allowed_mentions
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/evergreen/catify.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bot/exts/evergreen/catify.py b/bot/exts/evergreen/catify.py
index 88c63202..ae8d54b6 100644
--- a/bot/exts/evergreen/catify.py
+++ b/bot/exts/evergreen/catify.py
@@ -27,7 +27,10 @@ class Catify(commands.Cog):
if len(display_name) > 26:
embed = Embed(
title=random.choice(NEGATIVE_REPLIES),
- description="Your nickname is too long to be catified! Please change it to be under 26 characters.",
+ description=(
+ "Your display name is too long to be catified! "
+ "Please change it to be under 26 characters."
+ ),
color=Colours.soft_red
)
await ctx.send(embed=embed)
@@ -36,7 +39,7 @@ class Catify(commands.Cog):
else:
display_name += f" | {random.choice(Cats.cats)}"
- await ctx.send(f"Your catified username is: `{display_name}`")
+ await ctx.send(f"Your catified nickname is: `{display_name}`", allowed_mentions=AllowedMentions.none())
with suppress(Forbidden):
await ctx.author.edit(nick=display_name)