Hotfix TeamCommand
Dieser Commit ist enthalten in:
Ursprung
66c9d206e7
Commit
334547fa78
@ -73,7 +73,7 @@ public class TeamCommand extends BasicDiscordCommand {
|
||||
embedBuilder.setColor(Color.GRAY);
|
||||
embedBuilder.addField("Leader", "`" + team.getMembers().stream().map(SteamwarUser::get).filter(SteamwarUser::isLeader).map(SteamwarUser::getUserName).collect(Collectors.joining("` `")) + "`", false);
|
||||
embedBuilder.addField("Member", "`" + team.getMembers().stream().map(SteamwarUser::get).filter(user -> !user.isLeader()).map(SteamwarUser::getUserName).collect(Collectors.joining("` `")) + "`", false);
|
||||
embedBuilder.addField("Events", TeamTeilnahme.getEvents(team.getTeamId()).stream().map(Event::getEventName).collect(Collectors.joining(" ")), false);
|
||||
embedBuilder.addField("Events", "`" + TeamTeilnahme.getEvents(team.getTeamId()).stream().map(Event::getEventName).collect(Collectors.joining("` `")) + "`", false);
|
||||
event.replyEmbeds(embedBuilder.build()).setEphemeral(true).complete();
|
||||
return;
|
||||
default:
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren