private async Task UpdateProposals( ISocketMessageChannel channel, IUserMessage message, bool mod, Proposal proposal, GuildOptions options ) { if (mod) { proposal.Status = ProposalStatus.Approved; await helper.CreateIssue(proposal, channel, message, options); } else { proposal.ApprovalVotes++; if (proposal.ApprovalVotes >= options.MinApprovalVotes) { await helper.CreateIssue(proposal, channel, message, options); } } dataStore.SaveChanges(); }