Add event count to Team info

This commit is contained in:
2025-03-01 21:40:54 +01:00
parent c77b8f57ce
commit 96a4168f37
3 changed files with 3 additions and 3 deletions
@@ -301,7 +301,7 @@ public class TeamCommand extends SWCommand {
Set<Event> events = TeamTeilnahme.getEvents(team.getTeamId());
if(!events.isEmpty()){
sender.prefixless("TEAM_INFO_EVENTS", events.stream().map(Event::getEventName).collect(Collectors.joining(", ")));
sender.prefixless("TEAM_INFO_EVENTS", events.size(), events.stream().map(Event::getEventName).collect(Collectors.joining(", ")));
}
}