Poll Voters (Expression) — DiSky

Addon: DiSky · Category: Expression · Since: 5.0.0-a2

Syntax

[the] [poll] voters of [poll] answer %number/types.pollanswer% (of|in|from) [the] [message] %types.message%

Description

The users who voted for one answer of a poll. The answer is a poll answer object or its number (answers are numbered from 1 in the order they were declared); the message is the one carrying the poll, not the poll itself. Every page of voters is fetched. This asks Discord, so it needs 'await'.

Examples

await set {_voters::*} to the voters of poll answer 1 of event-message
loop poll answers of (poll of event-message):
	await set {_v::*} to the voters of poll answer loop-value of event-message

View source