From d2ee1bce1ce58d1e8094a5e4f9112137ce3f8809 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 7 Oct 2025 20:01:20 -0700 Subject: [PATCH] Update quiz.py --- modules/games/quiz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/games/quiz.py b/modules/games/quiz.py index 647e0e4..9074ce8 100644 --- a/modules/games/quiz.py +++ b/modules/games/quiz.py @@ -133,7 +133,7 @@ class QuizGame: ranking = sorted(self.players.items(), key=lambda x: x[1]['score'], reverse=True) count = min(3, len(ranking)) msg = f"🏆 Top {count} Player{'s' if count > 1 else ''}:\n" - for idx, (uid, pdata) in enumerate(ranking[:count], start=1): + for idx, (uid, pdata) in enumerate(iterable=ranking[:count], start=1): msg += f"{idx}. {uid}: @{pdata['score']}\n" return msg