diff options
author | 2023-05-01 14:21:40 +0100 | |
---|---|---|
committer | 2023-05-06 13:20:46 +0100 | |
commit | 7b7dea1a8d5f8e53b8ad9b9a82138e4c8689f566 (patch) | |
tree | af90c89deccc9f16cba7b1795b65398d60babca4 /bot/constants.py | |
parent | update Logging (diff) |
redeem lost bot references
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bot/constants.py b/bot/constants.py index 91ef7d10..11f9a5b9 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -171,7 +171,7 @@ class Emojis: trashcan = environ.get( "TRASHCAN_EMOJI", - "\N{WASTEBASKET}" if Client.debug else "<:trashcan:637136429717389331>", + "\N{WASTEBASKET}" if Bot.debug else "<:trashcan:637136429717389331>", ) ok_hand = ":ok_hand:" @@ -268,8 +268,9 @@ class Month(enum.IntEnum): # If a month override was configured, check that it's a valid Month # Prevents delaying an exception after the bot starts -if Client.month_override is not None: - Month(Client.month_override) +if Bot.month_override is not None: + Month(Bot.month_override) + class Roles(NamedTuple): |