aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:38:18 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:47 +0100
commita976c7888423e657f946ac567695c7da23e9f9a7 (patch)
tree764fcaf5a3891378578efc5a70de894a160ccedc /bot/bot.py
parentRevert "redeem lost bot references" (diff)
revert renaming of Client to Bot
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py4
1 files changed, 2 insertions, 2 deletions
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