From 7b7dea1a8d5f8e53b8ad9b9a82138e4c8689f566 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 1 May 2023 14:21:40 +0100 Subject: redeem lost bot references --- bot/constants.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bot/constants.py') 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): -- cgit v1.2.3