fdgt

subgift

subgift events are fired when a user gifts a subscription to another user in the channel.

Kind: global variable

Parameters

ParamTypeDefaultDescription
colorstringThe color of the user's name in chat.
countstring1The total number of gifts the user has given in the channel.
messageidstringThe ID of the message.
monthsnumber1The length of the gift sub (for multi-month subs only).
tenurenumber1The total number of months the recipient has been subscribed.
tiernumber1The tier of the subscription being extended.
timestampstringThe millisecond timestamp when the message was sent.
userid2stringThe ID of the user that is receiving the sub.
username2stringThe username of the user that is receiving the sub.
useridstringThe ID of the user sending the message.
usernamestringThe username of the user sending the message.

Examples

Fires a `subgift` event

Simulates a Tier 3 `subgift` event from glEnd2

Simulator