resubscription
resubscription
events are fired when a when a user continues their existing, non-gifted subscription.
Kind: global variable
Parameters
Param | Type | Default | Description |
---|---|---|---|
color | string | The color of the user's name in chat. | |
messageid | string | The ID of the message. | |
months | number | 3 | The number of months the user has been subscribed to the channel. |
prime | boolean | false | Whether this is a Prime subscription. |
tier | number | 1 | The tier of the subscription being extended. |
timestamp | string | The millisecond timestamp when the message was sent. | |
userid | string | The ID of the user sending the message. | |
username | string | The username of the user sending the message. |
Examples
Fires a `resubscription` event
Simulates a Prime `resubscription` event
Simulates a Tier 3 `resubscription` event