Community Goal Contribution
Trigger for a Twitch Community Goal Contribution
PubSub
Variables
The following variables will be populated when this trigger executes:
Description | ||
---|---|---|
contributed | number | The amount that has been contributed to the goal so far |
contributedFormatted | number | The amount that has been contributed to the goal so far as a formatted number |
daysLeft | number | The amount of days left for this community goal Example: 3 |
durationDays | number | The total duration of this community goal in days Example: 7 |
goalAmount | number | The total amount required to complete the goal |
goalAmountFormatted | number | The total amount required to complete the goal as a formatted number |
percentComplete | string | The percentage that the goal has completed Example: 73% |
percentDecimal | number | The percentage that the goal has completed as a decimal Example: 0.73 |
title | string | The name of the community goal Example: My community goal |
userContribFormatted | number | The amount that the user has contributed as a formatted number |
userContributed | number | The amount that the user has contributed |
userTotalContribFormatted | number | The formatted total amount the user has contributed |
userTotalContributed | number | The total amount that the user has contributed |