aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 1a2763f0..7a8f13e7 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -82,6 +82,8 @@ class Client(NamedTuple):
token = environ.get("SEASONALBOT_TOKEN")
sentry_dsn = environ.get("SEASONALBOT_SENTRY_DSN")
debug = environ.get("SEASONALBOT_DEBUG", "").lower() == "true"
+ # Override seasonal locks: 1 (january) to 12 (december)
+ month_override = int(environ["MONTH_OVERRIDE"]) if "MONTH_OVERRIDE" in environ else None
class Colours: