From 27d65c155681a0c720ce405909527fadb8b54b31 Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Tue, 17 Dec 2019 08:30:48 -0800 Subject: Trivia: fix concatenation of winner mentions --- bot/seasons/evergreen/trivia_quiz.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bot') 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) -- cgit v1.2.3