diff options
author | 2021-03-06 12:16:00 +0000 | |
---|---|---|
committer | 2021-03-06 12:16:00 +0000 | |
commit | 49ce88636124b826437c17a3c39c60c0840c1256 (patch) | |
tree | f93ce757d37c27dc0141ec9e1f673e59f112ab6a | |
parent | Don't return discord.Messages. (diff) |
Remove superfluous str cast.
-rw-r--r-- | bot/exts/evergreen/profile_pic_modification/pfp_modify.py | 2 |
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 7d4326a4..11222563 100644 --- a/bot/exts/evergreen/profile_pic_modification/pfp_modify.py +++ b/bot/exts/evergreen/profile_pic_modification/pfp_modify.py @@ -229,7 +229,7 @@ class PfpModify(commands.Cog): title="Is this you or am I just really paranoid?", colour=Colours.soft_red ) - embed.set_author(name=str(user.name), icon_url=user.avatar_url) + embed.set_author(name=user.name, icon_url=user.avatar_url) embed.set_image(url='attachment://modified_avatar.png') embed.set_footer(text=f"Made by {ctx.author.display_name}.", icon_url=ctx.author.avatar_url) |