diff options
| -rw-r--r-- | bot/constants.py | 6 | ||||
| -rw-r--r-- | config-default.yml | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index ed298f41a..1b7a09244 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -611,6 +611,12 @@ class Branding(metaclass=YAMLGetter): cycle_frequency: int +class Tokens(metaclass=YAMLGetter): + section = "tokens" + + github: str + + class Event(Enum): """ Event names. This does not include every event (for example, raw diff --git a/config-default.yml b/config-default.yml index 91ecf3107..fa2841f0c 100644 --- a/config-default.yml +++ b/config-default.yml @@ -529,5 +529,9 @@ branding: cycle_frequency: 3 # How many days bot wait before refreshing server icon +tokens: + github: !ENV "GITHUB_TOKEN" + + config: required_keys: ['bot.token'] |