mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
5.0a82
This commit is contained in:
parent
7f6db83b1d
commit
03694d6443
2 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
semantic = "5.0a81"
|
||||
semantic = "5.0a82"
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(semantic)
|
||||
|
|
Loading…
Reference in a new issue