From a976c7888423e657f946ac567695c7da23e9f9a7 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 1 May 2023 14:38:18 +0100 Subject: revert renaming of Client to Bot --- bot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/bot.py') diff --git a/bot/bot.py b/bot/bot.py index b9f1a62c..da19bdd9 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -23,12 +23,12 @@ class Bot(BotBase): that the upload was successful. See the `mock_in_debug` decorator for further details. """ - name = constants.Bot.name + name = constants.Client.name @property def member(self) -> Optional[discord.Member]: """Retrieves the guild member object for the bot.""" - guild = self.get_guild(constants.Bot.guild) + guild = self.get_guild(constants.Client.guild) if not guild: return None return guild.me -- cgit v1.2.3