diff options
author | 2021-11-17 18:03:35 -0500 | |
---|---|---|
committer | 2022-02-09 18:13:37 -0500 | |
commit | afe61522fdb8c6592b251476aef0d6823676c176 (patch) | |
tree | 709a60919341d6cea186c86c332046b948802a51 | |
parent | setup function (diff) |
locking trivia night roles to admins and event lead only
-rw-r--r-- | bot/exts/events/trivianight/trivianight.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/events/trivianight/trivianight.py b/bot/exts/events/trivianight/trivianight.py index bee55670..ed2bfdbe 100644 --- a/bot/exts/events/trivianight/trivianight.py +++ b/bot/exts/events/trivianight/trivianight.py @@ -7,13 +7,13 @@ from discord import Embed from discord.ext import commands from bot.bot import Bot -from bot.constants import Colours, MODERATION_ROLES, NEGATIVE_REPLIES, POSITIVE_REPLIES +from bot.constants import Colours, NEGATIVE_REPLIES, POSITIVE_REPLIES, Roles from ._questions import QuestionView, Questions from ._scoreboard import Scoreboard, ScoreboardView # The ID you see below is the Events Lead role ID -TRIVIA_NIGHT_ROLES = MODERATION_ROLES + (778361735739998228,) +TRIVIA_NIGHT_ROLES = (Roles.admin, 78361735739998228) class TriviaNight(commands.Cog): |