Skip to content

Commit

Permalink
Added filter to /erlc players, added minimum players to team restrict…
Browse files Browse the repository at this point in the history
…ions, and I forgot the rest
  • Loading branch information
Mikey committed Dec 29, 2024
1 parent 11b7de6 commit 78e7d03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cogs/ERLC.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,19 +561,19 @@ async def server_players(self, ctx: commands.Context, filter: typing.Optional[st
staff = staff_copy

embed2.description += (
f"**Server Staff [{len(staff)}]**\n" +
', '.join([f'[{plr.username} ({plr.team})](https://roblox.com/users/{plr.id}/profile)' for plr in staff])
f"**Server Staff [{len(staff)}]**\n" +
(', '.join([f'[{plr.username} ({plr.team})](https://roblox.com/users/{plr.id}/profile)' for plr in staff]) or "> No players in this category.")
)


embed2.description += (
f"\n\n**Online Players [{len(actual_players)}]**\n" +
', '.join([f'[{plr.username} ({plr.team})](https://roblox.com/users/{plr.id}/profile)' for plr in actual_players])
(', '.join([f'[{plr.username} ({plr.team})](https://roblox.com/users/{plr.id}/profile)' for plr in actual_players]) or "> No players in this category.")
)

embed2.description += (
f"\n\n**Queue [{len(queue)}]**\n" +
', '.join([f'[{plr.username}](https://roblox.com/users/{plr.id}/profile)' for plr in queue])
(', '.join([f'[{plr.username}](https://roblox.com/users/{plr.id}/profile)' for plr in queue]) or "> No players in this category.")
)

embed2.set_author(
Expand Down

0 comments on commit 78e7d03

Please sign in to comment.