Skip to content

$endPoll

$endPoll will close the poll.

Usage

$endPoll[channelID?;messageID?]

Parameters

FieldTypeDescriptionRequired
channelID?numberThe channel ID where the poll is locatedfalse
messageID?numberThe message ID of the poll that will be closed.false

Example(s)

This will close the chosen poll, replace the channelID and messageID with actual IDs:

1
client.command({
2
name: "endPoll",
3
code: `$endPoll[channelID;messageID]`
4
});