aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-11-28 09:49:36 +0100
committerGravatar GitHub <[email protected]>2021-11-28 09:49:36 +0100
commit2201f81816db9851a0906aeae525333925b77f9b (patch)
tree76ae637d7596cec22074f848c71269528d82cea1 /bot/constants.py
parentMerge pull request #955 from DMFriends/christmas_avatar (diff)
parentMerge branch 'main' into file_logging (diff)
Merge pull request #951 from python-discord/file_logging
Disable File Logging By Default
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 2b41b8a4..33bc8b61 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -135,6 +135,7 @@ class Client(NamedTuple):
prefix = environ.get("PREFIX", ".")
token = environ.get("BOT_TOKEN")
debug = environ.get("BOT_DEBUG", "true").lower() == "true"
+ file_logs = environ.get("FILE_LOGS", "false").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