From 64e1ac315daf4d17da02790859baebbbbb7bdfc4 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 1 May 2023 14:20:31 +0100 Subject: update Client constants This also renames the Client class to Bot, to align better with Python. --- bot/exts/core/extensions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/core/extensions.py') diff --git a/bot/exts/core/extensions.py b/bot/exts/core/extensions.py index 1d22cf37..3b1a1e8a 100644 --- a/bot/exts/core/extensions.py +++ b/bot/exts/core/extensions.py @@ -11,7 +11,7 @@ from pydis_core.utils._extensions import unqualify from bot import exts from bot.bot import Bot -from bot.constants import Client, Emojis, MODERATION_ROLES, Roles +from bot.constants import Bot, Emojis, MODERATION_ROLES, Roles from bot.utils.checks import with_role_check from bot.utils.pagination import LinePaginator @@ -155,7 +155,7 @@ class Extensions(commands.Cog): embed = Embed(colour=Colour.og_blurple()) embed.set_author( name="Extensions List", - url=Client.github_bot_repo, + url=Bot.github_repo, icon_url=str(self.bot.user.display_avatar.url) ) -- cgit v1.2.3