diff --git a/Plugins/PollMaker/SlashCommands/MakePoll.cs b/Plugins/PollMaker/SlashCommands/MakePoll.cs index 4ffa416..23d8104 100644 --- a/Plugins/PollMaker/SlashCommands/MakePoll.cs +++ b/Plugins/PollMaker/SlashCommands/MakePoll.cs @@ -102,9 +102,11 @@ public class MakePoll : IDbSlashCommand var state = new PollState(q, opts); Polls[msg.Id] = state; - + if (timed) + { _ = ClosePollLaterAsync(log, msg, state, hours); + } } public async Task ExecuteInteraction(ILogger log, SocketInteraction interaction) diff --git a/WebUI/Components/Pages/Settings.razor b/WebUI/Components/Pages/Settings.razor index b414e88..ed83135 100644 --- a/WebUI/Components/Pages/Settings.razor +++ b/WebUI/Components/Pages/Settings.razor @@ -15,21 +15,18 @@
- - + +
- - + +
- - + +