giftpaidupgrade
giftpaidupgrade
events are fired when a user upgrades their subscription from one that was previously gifted to them.
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 subscription has been active. |
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. | |
username2 | string | The username of the user that originally gifted the sub. |
Examples
Fires an `giftpaidupgrade` event
Fires an `giftpaidupgrade` event for a user that's been gifted subs for the past 12 months