diff options
| author | 2020-11-21 00:30:19 +0100 | |
|---|---|---|
| committer | 2020-11-21 00:30:19 +0100 | |
| commit | 6f524c3594a3ec7715569c66f8a3c0db369b5636 (patch) | |
| tree | 79457faad3023225ee02a92a9ec349f9af483429 /bot/constants.py | |
| parent | Merge branch 'master' into redis-persist (diff) | |
Make the bot name less hard-coded.
Diffstat (limited to '')
| -rw-r--r-- | bot/constants.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py index b9648507..eda10121 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -97,7 +97,8 @@ class Channels(NamedTuple): class Client(NamedTuple): - guild = int(environ.get("SEASONALBOT_GUILD", 267624335836053506)) + name = "Sir Lancebot" + guild = int(environ.get("BOT_GUILD", 267624335836053506)) prefix = environ.get("PREFIX", ".") token = environ.get("SEASONALBOT_TOKEN") sentry_dsn = environ.get("SEASONALBOT_SENTRY_DSN") |