aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:21:40 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:46 +0100
commit7b7dea1a8d5f8e53b8ad9b9a82138e4c8689f566 (patch)
treeaf90c89deccc9f16cba7b1795b65398d60babca4 /bot/constants.py
parentupdate Logging (diff)
redeem lost bot references
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py7
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):