diff options
| -rw-r--r-- | bot/seasons/evergreen/trivia_quiz.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/trivia_quiz.py b/bot/seasons/evergreen/trivia_quiz.py index 2b43bb8b..67c202f0 100644 --- a/bot/seasons/evergreen/trivia_quiz.py +++ b/bot/seasons/evergreen/trivia_quiz.py @@ -69,7 +69,9 @@ class TriviaQuiz(commands.Cog): # Send embed showing available categori es if inputted category is invalid. if category is None: category = random.choice(list(self.categories)) - if category.lower() not in self.categories: + + category = category.lower() + if category not in self.categories: embed = self.category_embed() await ctx.send(embed=embed) return |