aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py4
-rw-r--r--bot/exts/fun/snakes/_utils.py2
-rw-r--r--bot/exts/fun/trivia_quiz.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 6e45632f..c5443393 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -332,8 +332,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.admin, Roles.owner
+STAFF_ROLES = Roles.helpers, Roles.moderation_team, Roles.admin, Roles.owner
# Whitelisted channels
WHITELISTED_CHANNELS = (
diff --git a/bot/exts/fun/snakes/_utils.py b/bot/exts/fun/snakes/_utils.py
index de51339d..46834c2c 100644
--- a/bot/exts/fun/snakes/_utils.py
+++ b/bot/exts/fun/snakes/_utils.py
@@ -718,4 +718,4 @@ class SnakeAndLaddersGame:
@staticmethod
def _is_moderator(user: Member) -> bool:
"""Return True if the user is a Moderator."""
- return any(Roles.moderator == role.id for role in user.roles)
+ return any(Roles.moderation_team == role.id for role in user.roles)
diff --git a/bot/exts/fun/trivia_quiz.py b/bot/exts/fun/trivia_quiz.py
index 712c8a12..60afbb06 100644
--- a/bot/exts/fun/trivia_quiz.py
+++ b/bot/exts/fun/trivia_quiz.py
@@ -550,7 +550,7 @@ class TriviaQuiz(commands.Cog):
if self.game_status[ctx.channel.id]:
# Check if the author is the game starter or a moderator.
if ctx.author == self.game_owners[ctx.channel.id] or any(
- Roles.moderator == role.id for role in ctx.author.roles
+ Roles.moderation_team == role.id for role in ctx.author.roles
):
self.game_status[ctx.channel.id] = False
del self.game_owners[ctx.channel.id]