diff options
| author | 2021-05-03 19:23:52 -0400 | |
|---|---|---|
| committer | 2021-05-03 19:23:52 -0400 | |
| commit | a7279c624b093ffe826edadbc999103083710953 (patch) | |
| tree | addd04d27f2cdf112eccd5cdf3c3818fd4d28c44 /bot/exts/evergreen/trivia_quiz.py | |
| parent | chore: End the sentence with a period (diff) | |
chore: Don't return a Message object when the return annotation is None
Diffstat (limited to 'bot/exts/evergreen/trivia_quiz.py')
| -rw-r--r-- | bot/exts/evergreen/trivia_quiz.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py index f40375a6..bfd7d357 100644 --- a/bot/exts/evergreen/trivia_quiz.py +++ b/bot/exts/evergreen/trivia_quiz.py @@ -62,10 +62,11 @@ class TriviaQuiz(commands.Cog): # Stop game if running. if self.game_status[ctx.channel.id] is True: - return await ctx.send( + await ctx.send( f"Game is already running..." f"do `{self.bot.command_prefix}quiz stop`" ) + return # Send embed showing available categories if inputted category is invalid. if category is None: |