From 303128f4b5bd31764bd02ec98a0d1f3ec226ed2c Mon Sep 17 00:00:00 2001 From: RohanJnr Date: Fri, 20 Dec 2019 11:04:52 +0530 Subject: fixed lint errors --- bot/seasons/evergreen/trivia_quiz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3