Subscription
Parameters
Choose on which tier to trigger the gift bomb
Options: Prime
, Tier 1
, Tier 2
, Tier 3
Variables
The following variables will be populated when this trigger executes:
Description | ||
---|---|---|
isMultiMonth | bool | If subscription is for longer then one month Example: true |
multiMonthDuration | int | The amount of months subscribed for Example: 2 |
multiMonthTenure | int | The total amount of months subscribed for Example: 3 |
tier | string | The subscription tier Example: tier 1 |
Description | ||
---|---|---|
badgeCount | number | The count of badges this user has Example: 3 |
badges | List<Twitch.Common.Models.Badge> | A C# accessible list of emotes used in the chat message |
isModerator | boolean | Is this user a moderator? Example: true |
isSubscribed | boolean | Is this user subscribed? Example: true |
isVip | boolean | Is this user a VIP? Example: true |
monthsSubscribed | number | The amount of months the user is subscribed Example: 3 |
subscriptionTier | number | The subscription tier (T1 = 1000, T2 = 2000, T3 = 3000) (only available if Example: 3000 |
user | string | The display name of the user Example: TwitchUser123 |
userGroups | string | Comma-delimited list of groups the user is in Example: Awesome Streamers,Discord Peeps,Top Contributors |
userId | string | Unique user identifier Example: 718933593 |
userName | string | The login name of the user Example: twitchuser123 |
userPreviousActive | DateTime | When was this user last active? Example: 8/4/2023 10:56:06 AM |
userType | string | Streaming service of this user Example: twitch |
Description | ||
---|---|---|
bits | number | The amount of bits donated Example: 200 |
color | string | Hex value of the user's chat color Example: #e5e5e5 |
colorB | string | The blue in RGB of the user's chat color Example: 229 |
colorG | string | The green in RGB of the user's chat color Example: 229 |
colorR | string | The red in RGB of the user's chat color Example: 229 |
emoteCount | number | Number of emotes in the chat message |
emotes | List<Twitch.Common.Models.Emote> | A C# accessible list of emotes used in the chat message |
firstMessage | boolean | Is this user a first time chatter? Example: true |
fromSharedChat | boolean | Whether or not the message originated from a different broadcaster in shared chat |
inSharedChat | boolean | Whether or not the broadcaster is currently in a shared chat |
input# | string | The |
inputEscaped# | string | The indexed word escaped |
inputUrlEncoded# | string | The indexed word URL encoded |
isAction | boolean | Is this message a Example: true |
isHighlight | boolean | Is this message a Twitch Highlight? Example: true |
isReply | boolean | Is this message a reply? Example: true |
message | string | Text content of the chat message Example: Hello! |
messageCheermotesStripped | string | The chat message with cheer emotes stripped. Example: Hello! |
messageStripped | string | The chat message with emotes stripped Example: Hello! |
msgId | string | Twitch's message identifier Example: a126e8a8-43f7-4a14-8990-e8c3feea76d8 |
rawInput | string | The message entered |
rawInputEscaped | string | The message escaped |
rawInputUrlEncoded | string | The message URL encoded |
reply.msgBody | string | The text content of the reply, Spaces are replaced by Example: My\schat\smessage |
reply.msgId | string | The message id of the reply Example: a126e8a8-43f7-4a14-8990-e8c3feea76d8 |
reply.threadMsgId | string | The message id of the thread Example: a126e8a8-43f7-4a14-8990-e8c3feea76d8 |
reply.threadUserLogin | string | The user login name of the thread Example: twitchuser123 |
reply.userId | string | The user id from the user who sent the reply Example: 718933593 |
reply.userLogin | string | The user login from the user who sent the reply Example: twitchuser123 |
reply.userName | string | The user name from the user who sent the reply Example: TwitchUser123 |
role | number | The role of the user Example: 1 |
General variables are generated by all triggers and are available within all action executions.
Description | ||
---|---|---|
__source | EventType | The event which triggered the action. Example: TwitchChatMessage |
actionId | Guid | The unique ID of the action being executed Example: 2cd1495a-e50c-45d2-8bb5-ffe9c3dff243 |
actionName | string | The name of the action being executed Example: My Action |
actionQueuedAt | DateTime | The timestamp of when action was queued Example: 12/21/2023 9:25:21 AM |
eventSource | EventSource | The service of the event which triggered the action. Example: twitch |
runningActionId | Guid | The unique ID of this running action instance within the queue Example: c83dd939-9f86-4435-b07c-b6e7e3eef134 |
triggerCategory | string | The category of the trigger which executed the action Example: Twitch/Chat |
triggerId | Guid | The unique id of the trigger with executed the action Example: 2cd1495a-e50c-45d2-8bb5-ffe9c3dff243 |
triggerName | string | The name of the trigger which executed the action Example: Chat Message |