aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2019-12-20 11:04:52 +0530
committerGravatar RohanJnr <[email protected]>2019-12-20 11:04:52 +0530
commit303128f4b5bd31764bd02ec98a0d1f3ec226ed2c (patch)
tree1b3b111876a5827702bbd76be1fad36ec5f02b56 /bot
parentMerge branch 'quiz_fix' of https://github.com/RohanJnr/seasonalbot into quiz_fix (diff)
fixed lint errors
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/evergreen/trivia_quiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/trivia_quiz.py b/bot/seasons/evergreen/trivia_quiz.py
index 770402e5..2b43bb8b 100644
--- a/bot/seasons/evergreen/trivia_quiz.py
+++ b/bot/seasons/evergreen/trivia_quiz.py
@@ -73,7 +73,6 @@ class TriviaQuiz(commands.Cog):
embed = self.category_embed()
await ctx.send(embed=embed)
return
-
# Start game if not running.
if self.game_status[ctx.channel.id] is False:
@@ -196,6 +195,7 @@ class TriviaQuiz(commands.Cog):
async def stop_quiz(self, ctx: commands.Context) -> None:
"""
Stop a quiz game if its running in the channel.
+
Note: Only mods or the owner of the quiz can stop it.
"""
if self.game_status[ctx.channel.id] is True: