aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2021-12-02 10:47:03 +0100
committerGravatar GitHub <[email protected]>2021-12-02 10:47:03 +0100
commit4852790221b88a9bb8dd4ed7a713caaafdbabf48 (patch)
tree84dc98070154ad7fa8eb51d270ebd1c0561dacad /bot/constants.py
parentMerge pull request #950 from onerandomusername/patch-3 (diff)
parentMerge branch 'main' into update-role-constants (diff)
Merge pull request #900 from python-discord/update-role-constants
Update role constants
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 33bc8b61..f4b1cab0 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -282,9 +282,9 @@ if Client.month_override is not None:
class Roles(NamedTuple):
- owner = 267627879762755584
- admin = int(environ.get("BOT_ADMIN_ROLE_ID", 267628507062992896))
- moderator = 267629731250176001
+ owners = 267627879762755584
+ admins = int(environ.get("BOT_ADMIN_ROLE_ID", 267628507062992896))
+ moderation_team = 267629731250176001
helpers = int(environ.get("ROLE_HELPERS", 267630620367257601))
core_developers = 587606783669829632
everyone = int(environ.get("BOT_GUILD", 267624335836053506))
@@ -334,8 +334,8 @@ class Reddit:
# Default role combinations
-MODERATION_ROLES = Roles.moderator, Roles.admin, Roles.owner
-STAFF_ROLES = Roles.helpers, Roles.moderator, Roles.admin, Roles.owner
+MODERATION_ROLES = {Roles.moderation_team, Roles.admins, Roles.owners}
+STAFF_ROLES = {Roles.helpers, Roles.moderation_team, Roles.admins, Roles.owners}
# Whitelisted channels
WHITELISTED_CHANNELS = (