Added Raid Reminders
This commit is contained in:
parent
d0ff8251a2
commit
5a5c3df1a9
7 changed files with 232 additions and 12 deletions
|
@ -272,13 +272,15 @@ namespace Lieb.Data
|
|||
Message = message
|
||||
};
|
||||
apiReminder.UserIds = new List<ulong>();
|
||||
HashSet<ulong> userIds = new HashSet<ulong>();
|
||||
foreach(RaidSignUp signUp in raid.SignUps)
|
||||
{
|
||||
if(signUp.LiebUserId.HasValue)
|
||||
{
|
||||
apiReminder.UserIds.Add(signUp.LiebUserId.Value);
|
||||
userIds.Add(signUp.LiebUserId.Value);
|
||||
}
|
||||
}
|
||||
apiReminder.UserIds = userIds.ToList();
|
||||
return apiReminder;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue