Skip to content

Twitch Polls

Nathan edited this page Jul 22, 2021 · 1 revision

Polls - Variables

%poll.Id% - Twitch's ID for the poll
%poll.StartedAt% - When the poll was started
%poll.Title% - The title of the poll
%poll.Duration% - How long the poll will run for, in seconds
%poll.DurationRemaining% - How much longer the poll has left, in seconds
%poll.choices.count% - The number of choices

# can be 0 to 4, depending how many choices there are

%poll.choice#.title% - The title of the poll choice
%poll.choice#.votes% - Number of regular votes for the choice
%poll.choice#.bitVotes% - Number of bit based votes for the choice
%poll.choice#.rewardVotes% - Number of reward based votes for the choice
%poll.choice#.totalVotes% - Total number of votes for the choice

%poll.votes% - Total number of regular votes
%poll.bitVotes% - Total number of bit based votes
%poll.rewardVotes% - Total number of reward based votes
%poll.totalVotes% - Overall total number of votes

The above variables are available for all poll actions

%poll.EndedAt% is also available for the completed action

Because how some of this is handled, it is recommended that Execute C# code is used for these as some logic maybe required

Note if there are variables missing that you think maybe of benefit, let me know and I can likely add them in

Clone this wiki locally