aboutsummaryrefslogtreecommitdiffstats
path: root/config-default.yml
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-14 13:48:44 +0000
committerGravatar Leon Sandøy <[email protected]>2018-11-14 13:48:44 +0000
commit572d3585f6fef7d3c9c3f463d66d212261432bdc (patch)
tree260a2356f222bfb2d28ad0011b7f7f07d330977b /config-default.yml
parentMerge branch 'about-command-remove-old-syntax' into 'master' (diff)
parentReplace REQUIRED_ENV config tag (diff)
Merge branch 'req_env_var_fix' into 'master'
Allow bot token to be set in config.yml without BOT_TOKEN env var See merge request python-discord/projects/bot!87
Diffstat (limited to 'config-default.yml')
-rw-r--r--config-default.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/config-default.yml b/config-default.yml
index 2c814b11e..0019d1688 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -1,6 +1,6 @@
bot:
- help_prefix: "bot."
- token: !REQUIRED_ENV "BOT_TOKEN"
+ help_prefix: "bot."
+ token: !ENV "BOT_TOKEN"
cooldowns:
# Per channel, per tag.
@@ -313,3 +313,6 @@ wolfram:
user_limit_day: 10
guild_limit_day: 67
key: !ENV "WOLFRAM_API_KEY"
+
+config:
+ required_keys: ['bot.token']