aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-08-26 15:06:54 +0200
committerGravatar GitHub <[email protected]>2021-08-26 15:06:54 +0200
commit8cac7f077b14265783ae558fff65cbcd2bef00d6 (patch)
tree1090900759f235ba986198c2d137787da02564db /bot/constants.py
parentMerge pull request #795 from D0rs4n/pr/wikipediaissue (diff)
parentLimit internal eval commands to owner if bot in debug mode (diff)
Merge pull request #818 from python-discord/int-eval-owner-check
Limit internal eval to bot owner when in debug mode
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py
index bb602361..6323af80 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -134,7 +134,7 @@ class Client(NamedTuple):
prefix = environ.get("PREFIX", ".")
token = environ.get("BOT_TOKEN")
sentry_dsn = environ.get("BOT_SENTRY_DSN")
- debug = environ.get("BOT_DEBUG", "").lower() == "true"
+ debug = environ.get("BOT_DEBUG", "true").lower() == "true"
github_bot_repo = "https://github.com/python-discord/sir-lancebot"
# Override seasonal locks: 1 (January) to 12 (December)
month_override = int(environ["MONTH_OVERRIDE"]) if "MONTH_OVERRIDE" in environ else None