fdgt

subscription

subscription events are fired when a user subscribes to a channel for the first time.

Kind: global variable

Parameters

ParamTypeDefaultDescription
colorstringThe color of the user's name in chat.
messageidstringThe ID of the message.
primebooleanfalseWhether this is a Prime subscription.
tiernumber1The tier of the subscription being extended.
timestampstringThe millisecond timestamp when the message was sent.
useridstringThe ID of the user sending the message.
usernamestringThe username of the user sending the message.

Examples

Fires a `subscription` event

Simulates a Prime `subscription` event

Simulates a Tier 3 `subscription` event

Simulator