aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/evergreen/trivia_quiz.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py
index 620a4377..6f39d9f2 100644
--- a/bot/exts/evergreen/trivia_quiz.py
+++ b/bot/exts/evergreen/trivia_quiz.py
@@ -557,10 +557,7 @@ class TriviaQuiz(commands.Cog):
question_dict: dict,
) -> None:
"""Send the correct answer of a question to the game channel."""
- if "info" in question_dict:
- info = question_dict["info"]
- else:
- info = ""
+ info = question_dict.get("info", "")
embed = discord.Embed(
color=discord.Colour.red(),