aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-12-17 08:30:48 -0800
committerGravatar MarkKoz <[email protected]>2019-12-17 08:30:48 -0800
commit27d65c155681a0c720ce405909527fadb8b54b31 (patch)
tree6d358373059321e117222328002d8b3aec1fa98d /bot
parentTrivia: space out some of lines of code (diff)
Trivia: fix concatenation of winner mentions
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/evergreen/trivia_quiz.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/seasons/evergreen/trivia_quiz.py b/bot/seasons/evergreen/trivia_quiz.py
index 2470ec0f..345f1abd 100644
--- a/bot/seasons/evergreen/trivia_quiz.py
+++ b/bot/seasons/evergreen/trivia_quiz.py
@@ -254,9 +254,7 @@ class TriviaQuiz(commands.Cog):
winners.append(list(player_data.keys())[index])
points_copy[index] = 0
- winners_mention = None
- for winner in winners:
- winners_mention += f"{winner.mention} "
+ winners_mention = " ".join(winner.mention for winner in winners)
else:
word = "You"
author_index = list(player_data.values()).index(highest_points)