diff --git a/Commands/Polls.cs b/Commands/Polls.cs index 2ae6020..77c6e03 100644 --- a/Commands/Polls.cs +++ b/Commands/Polls.cs @@ -75,6 +75,7 @@ namespace dotbot.Commands var poll = _polls[pollId]; poll.IsOpen = false; await ReplyAsync($"the winner was **{poll.Winner}**\nwith {poll.Winner.Votes} votes"); + poll = null; } else await ReplyAsync("you haven't started any polls"); }