diff options
author | 2020-11-11 22:37:28 +0100 | |
---|---|---|
committer | 2020-11-11 22:37:28 +0100 | |
commit | 8c8b65c4647f23010d7fb458246c28b3ccbeb549 (patch) | |
tree | 5f9094c4d7f60af79d67d21be73345e9a04bbbb3 | |
parent | Merge CI dep cache bump from 'master' branch (diff) |
Config: ensure 2 blank lines between classes
Previous changes reduced the spacing to 1 blank line, which is
inconsistent with the prevailing style.
-rw-r--r-- | bot/constants.py | 2 | ||||
-rw-r--r-- | config-default.yml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index 66a049851..731f06fed 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -361,6 +361,7 @@ class CleanMessages(metaclass=YAMLGetter): message_limit: int + class Stats(metaclass=YAMLGetter): section = "bot" subsection = "stats" @@ -603,6 +604,7 @@ class VoiceGate(metaclass=YAMLGetter): minimum_activity_blocks: int voice_ping_delete_delay: int + 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 c2a4e71ad..8912841ff 100644 --- a/config-default.yml +++ b/config-default.yml @@ -524,5 +524,6 @@ voice_gate: minimum_activity_blocks: 3 # Number of 10 minute blocks during which a user must have been active voice_ping_delete_delay: 60 # Seconds before deleting the bot's ping to user in Voice Gate + config: required_keys: ['bot.token'] |