aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gustav Odinger <[email protected]>2020-09-21 23:52:20 +0200
committerGravatar Gustav Odinger <[email protected]>2020-09-21 23:53:00 +0200
commita8d6f6d729cd0dffc6edf4b41f6a909e868dcfb0 (patch)
treebf2fdc0135414992b1d4a14330f6944c3d6366fe
parentUpdate 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
-rw-r--r--bot/exts/utils/extensions.py2
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 = []