Skip to content

Commit

Permalink
[BattleRoyale] use global_name instead
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Oct 15, 2023
1 parent db9c169 commit b789568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion battleroyale/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async def _callback(
self: RemainingPlayerButton, interaction: discord.Interaction[Red]
) -> None:
remaining_player_str = humanize_list(
[m.name for m in sorted(self.view.remaining, key=lambda m: m.name)]
[m.global_name for m in sorted(self.view.remaining, key=lambda m: m.global_name)]
)
remaining_players_str = (
f"{remaining_player_str[:4000]}..."
Expand Down

0 comments on commit b789568

Please sign in to comment.