aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:34:38 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:47 +0100
commitd5d44e3689bb8d25b4eb70545cbe0d086f8892e7 (patch)
treee896f853384777524ac1b28fce886a456f2ff369
parentRevert "update forgotten reference of `Bot`" (diff)
Revert "redeem lost bot references"
This reverts commit 8d4fa84652e98dcb92fddf0a776c32634e0dfcf0.
-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):