Skip to content

Polls triggers

Chat poll ended

Runs when a chat poll ends. Good for announcing which choice won.

Variables you get

Variable What it holds
%title% The poll's question
%winningChoice% The text of the winning choice (empty if nobody voted)
%winningVotes% How many votes the winner got
%totalVotes% How many votes there were in all
%choice0Title% The first choice's text (choice1Title is the second, and so on)
%choice0Votes% How many votes the first choice got (choice1Votes is the second, and so on)
%canceled% True if the poll was cancelled

Type id: cuebot.pollEnded

Chat poll started

Runs when a chat poll starts. Good for announcing the question and how to vote in chat.

Variables you get

Variable What it holds
%title% The poll's question
%choiceCount% How many choices there are
%choice0Title% The first choice's text (choice1Title is the second, and so on)
%duration% How many seconds the poll lasts (0 = until you end it)
%pollId% The poll's internal id

Type id: cuebot.pollStarted

Chat prediction cancelled

Runs when a prediction is cancelled and every bet is given back. Good for telling chat that the points are back.

Variables you get

Variable What it holds
%title% The prediction's question
%totalUsers% How many viewers had bet
%totalPoints% How many points are given back in all

Type id: cuebot.predictionCanceled

Chat prediction locked

Runs when a chat prediction is locked, so no more bets are taken. Good for saying "bets are closed".

Variables you get

Variable What it holds
%title% The prediction's question
%totalUsers% How many viewers bet
%totalPoints% How many points were bet in all
%outcome0Points% Points bet on the first outcome (outcome1Points is the second, and so on)
%currency% The name of the points that were bet

Type id: cuebot.predictionLocked

Chat prediction resolved

Runs when you pick the winning outcome of a prediction and the winners get paid. Good for announcing the result.

Variables you get

Variable What it holds
%title% The prediction's question
%winningOutcome% The text of the winning outcome
%winnerCount% How many viewers won points
%paidOut% How many points were paid out in all
%totalPoints% How many points were bet in all

Type id: cuebot.predictionResolved

Chat prediction started

Runs when a chat prediction opens for bets. Viewers bet their points on what will happen. Good for announcing the question.

Variables you get

Variable What it holds
%title% The prediction's question
%outcomeCount% How many outcomes there are
%outcome0Title% The first outcome's text (outcome1Title is the second, and so on)
%window% How many seconds bets are taken (0 = until you lock it)
%currency% The name of the points that are bet

Type id: cuebot.predictionStarted