diff options
| author | 2020-10-10 17:42:06 +0300 | |
|---|---|---|
| committer | 2020-10-10 17:50:03 +0300 | |
| commit | 7039702ef29f4dd44db2f08005ac61d6ab83460f (patch) | |
| tree | 47da33e184a2c638fdd23c7539f12979a1e0b1ee | |
| parent | Create base Voice Gate cog (diff) | |
Define Voice Gate channel, role and requirement in constants.py
| -rw-r--r-- | bot/constants.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index bb82b976d..ccc3d505d 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -423,6 +423,7 @@ class Channels(metaclass=YAMLGetter): user_event_announcements: int user_log: int verification: int + voice_gate: int voice_log: int @@ -458,6 +459,7 @@ class Roles(metaclass=YAMLGetter): team_leaders: int unverified: int verified: int # This is the Developers role on PyDis, here named verified for readability reasons. + voice_verified: int class Guild(metaclass=YAMLGetter): @@ -577,6 +579,14 @@ class Verification(metaclass=YAMLGetter): kick_confirmation_threshold: float +class VoiceGate(metaclass=YAMLGetter): + section = "voice_gate" + + minimum_days_verified: int + minimum_messages: int + bot_message_delete_delay: int + + class Event(Enum): """ Event names. This does not include every event (for example, raw |