aboutsummaryrefslogtreecommitdiffstats
path: root/config-default.yml
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2018-11-08 06:40:10 +1000
committerGravatar scragly <[email protected]>2018-11-08 06:40:10 +1000
commit3adab46cf333266c4d433eb7088dbe7cbbf19906 (patch)
tree7c060c7458b4ab11a8826a0c8edd3cb28fce7c59 /config-default.yml
parentMerge branch 'ignore-vscode' into 'master' (diff)
Replace REQUIRED_ENV config tag
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 15f1a143a..17aa69ead 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']