aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py2
-rw-r--r--config-default.yml1
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']