diff options
author | 2023-05-01 14:38:18 +0100 | |
---|---|---|
committer | 2023-05-06 13:20:47 +0100 | |
commit | a976c7888423e657f946ac567695c7da23e9f9a7 (patch) | |
tree | 764fcaf5a3891378578efc5a70de894a160ccedc /bot/bot.py | |
parent | Revert "redeem lost bot references" (diff) |
revert renaming of Client to Bot
Diffstat (limited to 'bot/bot.py')
-rw-r--r-- | bot/bot.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |