aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-16 20:35:44 +0200
committerGravatar ks129 <[email protected]>2020-11-16 20:35:44 +0200
commit7742078f970adfc66b0c2eb3b47578631321a0f5 (patch)
tree0fe7a7c4657f869973641b87a76fbffb34263ac1
parentPort seasons from SeasonalBot to here (diff)
Add basic branding configuration
-rw-r--r--bot/constants.py6
-rw-r--r--config-default.yml4
2 files changed, 10 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 64f3bce98..ed298f41a 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -605,6 +605,12 @@ class VoiceGate(metaclass=YAMLGetter):
voice_ping_delete_delay: int
+class Branding(metaclass=YAMLGetter):
+ section = "branding"
+
+ cycle_frequency: 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 8912841ff..91ecf3107 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -525,5 +525,9 @@ voice_gate:
voice_ping_delete_delay: 60 # Seconds before deleting the bot's ping to user in Voice Gate
+branding:
+ cycle_frequency: 3 # How many days bot wait before refreshing server icon
+
+
config:
required_keys: ['bot.token']