mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Reverse sort in matchmaking events
This commit is contained in:
parent
1386aacef6
commit
68c7283a9a
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class MatchmakingCommand(Command):
|
||||||
if mmevent.description:
|
if mmevent.description:
|
||||||
text += f"{mmevent.description}\n"
|
text += f"{mmevent.description}\n"
|
||||||
text += "\n"
|
text += "\n"
|
||||||
for response in sorted(mmevent.responses, key=lambda r: self._mmchoice_values[r.choice]):
|
for response in sorted(mmevent.responses, key=lambda r: -self._mmchoice_values[r.choice]):
|
||||||
response: MMResponse
|
response: MMResponse
|
||||||
text += f"{response.choice.value} {response.user}\n"
|
text += f"{response.choice.value} {response.user}\n"
|
||||||
return text
|
return text
|
||||||
|
|
Loading…
Reference in a new issue