This commit is contained in:
2021-11-28 02:09:04 +01:00
parent 9c71e363f6
commit 45768fff80
3 changed files with 50 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ namespace LaDOSE.DiscordBot.Service
var wpBookingDtos = wpEventDto.WpBookings;
List<String> player= new List<string>();
wpBookingDtos.OrderBy(e=>e.WpUser.Name).ToList().ForEach(e=> player.Add(e.WpUser.Name));
return $"Les Joueurs inscrits pour {wpEventDto.Name} {string.Join(", ", player)}";
return $"Les Joueurs inscrits pour {wpEventDto.Name} {string.Join(", ", player)} + ({player?.Count})";
}
public bool RefreshDb()
{