aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py2
-rw-r--r--config-default.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index b7c6ffa70..a6dd3ab65 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -687,7 +687,7 @@ class VideoPermission(metaclass=YAMLGetter):
# Debug mode
-DEBUG_MODE: bool = _CONFIG_YAML["debug"]
+DEBUG_MODE: bool = _CONFIG_YAML["debug"] == "true"
# Paths
BOT_DIR = os.path.dirname(__file__)
diff --git a/config-default.yml b/config-default.yml
index 40c6d691e..85532ad28 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -1,4 +1,4 @@
-debug: false
+debug: !ENV ["BOT_DEBUG", "true"]
bot: