diff options
| author | 2020-03-29 17:44:33 +0200 | |
|---|---|---|
| committer | 2020-03-29 18:39:35 +0200 | |
| commit | bad7223930e637370891987bf2f67099d4649547 (patch) | |
| tree | 252ee800a5fedc52fdc22d5c69d4c18e4d9b5272 /bot/constants.py | |
| parent | Deseasonify: use `self` rather than local `bot` instance var (diff) | |
Deseasonify: add `month_override` env var
Diffstat (limited to 'bot/constants.py')
| -rw-r--r-- | bot/constants.py | 2 |
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: |