submysterygift
submysterygift
events are fired when a user gives mystery subscription gifts.
Kind: global variable
Parameters
Param | Type | Default | Description |
---|---|---|---|
color | string | The color of the user's name in chat. | |
count | number | 5 | The number of gifts the user is currently giving in the channel. |
messageid | string | The ID of the message. | |
timestamp | string | The millisecond timestamp when the message was sent. | |
totalcount | number | 5 | The total number of gifts the user has given in the channel. |
userid | string | The ID of the user sending the message. | |
username | string | The username of the user sending the message. |
Examples
Fires a `submysterygift` event
Simulates zebiniasis giving 20 mystery sub gifts