diff options
author | 2021-11-29 09:11:17 +0000 | |
---|---|---|
committer | 2021-11-29 09:11:17 +0000 | |
commit | be7da6f34e50b7a99ef6c3a7eb67a48b24b818ed (patch) | |
tree | 768e3c92fc68485faa16d4348b4efdf3fc5b27d9 /bot/constants.py | |
parent | Make certain AOC commands guild-only (diff) |
Change `MODERATION_ROLES` and `STAFF_ROLES` constants to be a set
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py index b4191c5e..bef7f3d1 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -332,8 +332,8 @@ class Reddit: # Default role combinations -MODERATION_ROLES = Roles.moderation_team, Roles.admins, Roles.owners -STAFF_ROLES = Roles.helpers, Roles.moderation_team, Roles.admins, Roles.owners +MODERATION_ROLES = {Roles.moderation_team, Roles.admins, Roles.owners} +STAFF_ROLES = {Roles.helpers, Roles.moderation_team, Roles.admins, Roles.owners} # Whitelisted channels WHITELISTED_CHANNELS = ( |