aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/evergreen/duck_game.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/duck_game.py b/bot/exts/evergreen/duck_game.py
index d6358837..b83d5951 100644
--- a/bot/exts/evergreen/duck_game.py
+++ b/bot/exts/evergreen/duck_game.py
@@ -12,7 +12,7 @@ from PIL import Image, ImageDraw, ImageFont
from discord.ext import commands
from bot.bot import Bot
-from bot.constants import Colours, Roles
+from bot.constants import Colours, MODERATION_ROLES
from bot.utils.decorators import with_role
@@ -318,7 +318,7 @@ class DuckGamesDirector(commands.Cog):
await self.send_help_embed(ctx)
@start_game.command(name="stop")
- @with_role(Roles.moderator)
+ @with_role(*MODERATION_ROLES)
async def stop_game(self, ctx: commands.Context) -> None:
"""Stop a currently running game. Only available to mods."""
try: