Skip to content

Twitch Predictions

Nathan edited this page Jul 22, 2021 · 1 revision

Prediction Variables

%prediction.Id% - Twitch's ID of the prediction
%prediction.CreatedAt% - When it was created
%prediction.Title% - It's title
%prediction.PredictionWindow% - the duration of the prediction, in seconds

# can be 0 or 1, predictions only have 2 choices

%prediction.outcome#.id% - Twitch's ID for the prediction
%prediction.outcome#.title% - Title for the prediction
%prediction.outcome#.users% - How many users picked this outcome
%prediction.outcome#.points% - Total number of rewards used
%prediction.outcome#.color% - The rgb hex color

The above are available for all prediction events

The two additional variable are availabe for Complted, Pending and Locked events

%prediction.LockedAt% - When it was locked
%prediction.EndedAt% - When it ended

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