1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2019-11-04 10:07:16 +01:00
parent 71871207f6
commit 7f6db83b1d
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ class TriviaCommand(Command):
f" creatori di Tower Unite, e sono rilasciate sotto la licenza [b]CC BY-SA 4.0[/b].") f" creatori di Tower Unite, e sono rilasciate sotto la licenza [b]CC BY-SA 4.0[/b].")
return return
elif arg == "scores": elif arg == "scores":
trivia_scores = await asyncify(data.session.query(self.alchemy.TriviaScore).all()) trivia_scores = await asyncify(data.session.query(self.alchemy.TriviaScore).all)
strings = ["🏆 [b]Trivia Leaderboards[/b]\n"] strings = ["🏆 [b]Trivia Leaderboards[/b]\n"]
for index, ts in sorted(trivia_scores, key=lambda ts: -ts.correct_rate): for index, ts in sorted(trivia_scores, key=lambda ts: -ts.correct_rate):
if index > 3: if index > 3:

View file

@ -1,4 +1,4 @@
semantic = "5.0a80" semantic = "5.0a81"
if __name__ == "__main__": if __name__ == "__main__":
print(semantic) print(semantic)