discord.endPoll closes a message poll before its scheduled expiry.
automations/discord-end-poll.automation.ts
Inputs
RequiredchannelId and poll messageId. Optional second argument { account } selects the Discord binding.
Output
Returns the updatedDiscordMessage containing the finalized poll.