diff options
author | 2021-12-03 02:43:27 +0400 | |
---|---|---|
committer | 2021-12-03 02:43:27 +0400 | |
commit | 1aa034d8f27ef786d88f525e3e178ef5c88acc2d (patch) | |
tree | a947ca67db48e8c2f83397d4c6a77484b5486a94 /bot/constants.py | |
parent | Note why .aoc lb strips quotes from names (diff) | |
parent | Merge pull request #900 from python-discord/update-role-constants (diff) |
Merge branch 'main' into aoc-lb-multiword
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 10 |
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 = ( |