Polls
pollVoters
$pollVoters
Lists the users who voted for one answer of a poll. Bot Creator function, not in the official BDFD wiki.
Syntax
$pollVoters[channelID;messageID;answerID;(separator);(limit)]
Parameters
| Parameter | Description |
|---|---|
channelID |
Required. The ID of the channel. |
messageID |
Required. The ID of the message. |
answerID |
Required. The number of the answer in the poll (1 for the first). |
separator |
Optional. Text placed between two values, , by default. |
limit |
Optional. 1 to 100, 100 by default. |
Return Value
- The user IDs joined by the separator.
Example
$pollVoters[$channelID;$messageID;1;, ]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.