diff options
author | 2020-09-21 23:52:20 +0200 | |
---|---|---|
committer | 2020-09-21 23:53:00 +0200 | |
commit | a8d6f6d729cd0dffc6edf4b41f6a909e868dcfb0 (patch) | |
tree | bf2fdc0135414992b1d4a14330f6944c3d6366fe /bot/exts/utils/extensions.py | |
parent | Update snake cog so ext command won't show files (diff) |
Fix extensions command bot avatar url
- Uses self.bot (the bot instance) instead of Bot (the bot object) to access avatar url
Diffstat (limited to 'bot/exts/utils/extensions.py')
-rw-r--r-- | bot/exts/utils/extensions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/extensions.py b/bot/exts/utils/extensions.py index 65dfef84..102a0416 100644 --- a/bot/exts/utils/extensions.py +++ b/bot/exts/utils/extensions.py @@ -155,7 +155,7 @@ class Extensions(commands.Cog): embed.set_author( name="Extensions List", url=Client.github_bot_repo, - icon_url=str(Bot.user.avatar_url) + icon_url=str(self.bot.user.avatar_url) ) lines = [] |