fixed sign up counter
This commit is contained in:
parent
49e17f65b8
commit
4b7bba4424
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ namespace DiscordBot.Messages
|
||||||
{
|
{
|
||||||
Dictionary<string, string> fieldList = new Dictionary<string, string>();
|
Dictionary<string, string> fieldList = new Dictionary<string, string>();
|
||||||
|
|
||||||
embed.AddField("Signed up", $"({raid.Roles.Sum(r => r.Users.Count)}/{raid.Roles.Sum(r => r.Spots)}):");
|
embed.AddField("Signed up", $"({raid.Roles.Sum(r => r.Users.Where(u => string.IsNullOrWhiteSpace(u.Status)).Count())}/{raid.Roles.Sum(r => r.Spots)}):");
|
||||||
foreach (ApiRaid.Role role in raid.Roles.OrderBy(x => x.RoleId))
|
foreach (ApiRaid.Role role in raid.Roles.OrderBy(x => x.RoleId))
|
||||||
{
|
{
|
||||||
//print signed up users
|
//print signed up users
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue