$endPoll
$endPoll
will close the poll.
Usage
$endPoll[channelID?;messageID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID? | number | The channel ID where the poll is located | false |
messageID? | number | The 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:
1client.command({2 name: "endPoll",3 code: `$endPoll[channelID;messageID]`4});