diff options
author | 2019-04-21 08:47:29 +1000 | |
---|---|---|
committer | 2019-04-21 08:47:29 +1000 | |
commit | 42ebba0622dd63da735c916f4d4eca39c020c45a (patch) | |
tree | c42087385c7d4e0d32c58daf3efb8f83699a25c0 /bot/constants.py | |
parent | Change devlog to seasonalbot-log channel. (diff) |
Allow prefix env, move db location.
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py index 7011bd8c..a62166af 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -54,7 +54,7 @@ class Channels(NamedTuple): class Client(NamedTuple): guild = int(environ.get('SEASONALBOT_GUILD', 267624335836053506)) - prefix = "." + prefix = environ.get("PREFIX", ".") token = environ.get('SEASONALBOT_TOKEN') debug = environ.get('SEASONALBOT_DEBUG', '').lower() == 'true' season_override = environ.get('SEASON_OVERRIDE') |