diff options
author | 2023-05-01 14:20:31 +0100 | |
---|---|---|
committer | 2023-05-06 13:20:46 +0100 | |
commit | 64e1ac315daf4d17da02790859baebbbbb7bdfc4 (patch) | |
tree | 15c3e2973685408b11272a34af1bc2de58580e28 /bot/bot.py | |
parent | update 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.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.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 |