primepaidupgrade
primepaidupgrade
events are fired when a user upgrades from a Prime subscription to a paid 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. | |
tier | number | 1 | The tier of the subscription being upgraded to. |
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 `primepaidupgrade` event
Fires a `primepaidupgrade` event with the user upgrading to Tier 3