added sorting of stats again!
This commit is contained in:
parent
0274a73388
commit
095c90f515
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ async def on_message(message):
|
|||
reply = "**Rares per player:**\n"
|
||||
sorted_players = sorted(rares_stats.items(), key=lambda x: x[1]['total'], reverse=True)
|
||||
|
||||
for name, data in sorted_players.items():
|
||||
for name, data in sorted_players:
|
||||
|
||||
reply += f"{name} – {data['total']} rares\n"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue