aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:20:31 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:46 +0100
commit64e1ac315daf4d17da02790859baebbbbb7bdfc4 (patch)
tree15c3e2973685408b11272a34af1bc2de58580e28 /bot/bot.py
parentupdate Categories (diff)
update Client constants
This also renames the Client class to Bot, to align better with Python.
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 da19bdd9..b9f1a62c 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.Client.name
+ name = constants.Bot.name
@property
def member(self) -> Optional[discord.Member]:
"""Retrieves the guild member object for the bot."""
- guild = self.get_guild(constants.Client.guild)
+ guild = self.get_guild(constants.Bot.guild)
if not guild:
return None
return guild.me