aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 2a28cd22..162f8aca 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -171,7 +171,7 @@ class Emojis:
trashcan = environ.get(
"TRASHCAN_EMOJI",
- "\N{WASTEBASKET}" if Bot.debug else "<:trashcan:637136429717389331>",
+ "\N{WASTEBASKET}" if Client.debug else "<:trashcan:637136429717389331>",
)
ok_hand = ":ok_hand:"
@@ -274,9 +274,8 @@ 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 Bot.month_override is not None:
- Month(Bot.month_override)
-
+if Client.month_override is not None:
+ Month(Client.month_override)
class _Roles(EnvConfig):