reworked blocked raids and polls
This commit is contained in:
parent
ac3cc69b68
commit
d3e69d4be7
2 changed files with 16 additions and 10 deletions
|
@ -73,6 +73,7 @@ namespace Lieb.Data
|
|||
.FirstOrDefault(r => r.RaidId == raidId);
|
||||
|
||||
if (raid == null) return 0;
|
||||
poll.Question = $"{raid.Title}: {poll.Question}";
|
||||
HashSet<ulong> users = raid.SignUps.Where(s => s.LiebUserId != null && s.IsMessageSignUp).Select(s => (ulong)s.LiebUserId).ToHashSet();
|
||||
return await CreatePoll(poll, users, raidId, isAutoPoll);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue