Elementium Sign in
Contents

Messages · Step

End poll

Close a poll the bot posted now, before its time runs out.

Free plan poll.end

In a flow

“When a button is clicked, end poll.”

End the poll when the event starts.

What it does

Close a poll the bot posted now, before its time runs out. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Messages in the palette.

When to use it

Use it when the flow needs to close a poll the bot posted now, before its time runs out.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Message Message

The poll the bot posted: its link, its id, or wire in Poll from Create poll.

What goes there: Type it in the side panel, or wire in a message. e.g. a link to the message

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromCountdown messageCreate pollCreate poll from a listExport form recordsFind messageForward messagePinned messagesPoll with resultsand 527 more

Channel Channel

Where the message is, when you give only its id. Leave empty for here.

What goes there: Type it in the side panel, or wire in a channel. e.g. #general

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more

Often next

Related in Messages

Wires and sockets · Data values · Plans