added automatic deletion of polls
This commit is contained in:
parent
b6dd3ff9c4
commit
ac3cc69b68
7 changed files with 846 additions and 7 deletions
|
@ -704,7 +704,7 @@ namespace Lieb.Data
|
|||
{
|
||||
raid.MinUserPollId = await _pollService.CreatePoll(
|
||||
"The raid has not the required users, do you want to raid anyway?",
|
||||
new List<string>() {Constants.Polls.YES, Constants.Polls.NO }, raid.RaidId);
|
||||
new List<string>() {Constants.Polls.YES, Constants.Polls.NO }, raid.RaidId, true);
|
||||
await context.SaveChangesAsync();
|
||||
await _discordService.PostRaidMessage(raid.RaidId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue