aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-03-22 14:23:50 +0100
committerGravatar kwzrd <[email protected]>2020-03-22 14:23:50 +0100
commit612f7a2034007c0ba993c3f991c2624328bd08f3 (patch)
tree926077bcf742326ff7b51fc21079793c385e7eb6 /bot/constants.py
parentDeseasonify: add class for branding config (diff)
Deseasonify: add autostart env var
During development it may be useful to not have the branding daemon start automatically - this env var will make that possible.
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 691e7760..f552aec7 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -65,6 +65,7 @@ class Channels(NamedTuple):
class Branding:
cycle_frequency = int(environ.get("CYCLE_FREQUENCY", 3)) # 0: never, 1: every day, 2: every other day, ...
+ autostart = bool(environ.get("BRANDING_AUTOSTART", True)) # Launch the branding daemon automatically on start-up
class Client(NamedTuple):