Skip to main content
discord.endPoll closes a message poll before its scheduled expiry.
automations/discord-end-poll.automation.ts

Inputs

Required channelId and poll messageId. Optional second argument { account } selects the Discord binding.

Output

Returns the updated DiscordMessage containing the finalized poll.

Discord behavior

The connected bot must own the poll message. This action does not implement a polling trigger or repeatedly query Discord.