diff --git a/royalnet/packs/royal/commands/trivia.py b/royalnet/packs/royal/commands/trivia.py index 3fdb1174..c7254743 100644 --- a/royalnet/packs/royal/commands/trivia.py +++ b/royalnet/packs/royal/commands/trivia.py @@ -47,7 +47,7 @@ class TriviaCommand(Command): elif arg == "scores": trivia_scores = await asyncify(data.session.query(self.alchemy.TriviaScore).all) strings = ["🏆 [b]Trivia Leaderboards[/b]\n"] - for index, ts in sorted(trivia_scores, key=lambda ts: -ts.correct_rate): + for index, ts in enumerate(sorted(trivia_scores, key=lambda ts: -ts.correct_rate)): if index > 3: index = 3 strings.append(f"{self._medal_emojis[index]} {ts.royal.username}" diff --git a/royalnet/version.py b/royalnet/version.py index 0dddc9c3..1318b8c1 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1,4 +1,4 @@ -semantic = "5.0a81" +semantic = "5.0a82" if __name__ == "__main__": print(semantic)