aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/avatar_modification/avatar_modify.py
diff options
context:
space:
mode:
authorGravatar TizzySaurus <[email protected]>2021-11-29 09:15:05 +0000
committerGravatar GitHub <[email protected]>2021-11-29 09:15:05 +0000
commitc462d899f02495a4875df1f59fd97b39202ba8de (patch)
treed6a60f9735ae21c7ef5d546ec2cfc8c84b1200c2 /bot/exts/avatar_modification/avatar_modify.py
parentChange `MODERATION_ROLES` and `STAFF_ROLES` constants to be a set (diff)
parentMerge pull request #951 from python-discord/file_logging (diff)
Merge branch 'main' into update-role-constants
Diffstat (limited to 'bot/exts/avatar_modification/avatar_modify.py')
-rw-r--r--bot/exts/avatar_modification/avatar_modify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/avatar_modification/avatar_modify.py b/bot/exts/avatar_modification/avatar_modify.py
index 87eb05e6..3ee70cfd 100644
--- a/bot/exts/avatar_modification/avatar_modify.py
+++ b/bot/exts/avatar_modification/avatar_modify.py
@@ -239,7 +239,7 @@ class AvatarModify(commands.Cog):
description=f"Here is your lovely avatar, surrounded by\n a beautiful {option} flag. Enjoy :D"
)
embed.set_image(url=f"attachment://{file_name}")
- embed.set_footer(text=f"Made by {ctx.author.display_name}.", icon_url=ctx.author.avatar.url)
+ embed.set_footer(text=f"Made by {ctx.author.display_name}.", icon_url=ctx.author.display_avatar.url)
await ctx.send(file=file, embed=embed)
@avatar_modify.group(
@@ -286,7 +286,7 @@ class AvatarModify(commands.Cog):
@avatar_modify.command(
aliases=("savatar", "spookify"),
root_aliases=("spookyavatar", "spookify", "savatar"),
- brief="Spookify an user's avatar."
+ brief="Spookify a user's avatar."
)
async def spookyavatar(self, ctx: commands.Context) -> None:
"""This "spookifies" the user's avatar, with a random *spooky* effect."""