raid
raid events are fired when a channel is raided by another stream.
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. | |
| timestamp | string | The millisecond timestamp when the message was sent. | |
| userid | string | The ID of the user sending the message. | |
| username | string | The channel the raid is coming from. | |
| viewercount | number | 10 | The number of viewers that joined the raid. |
Examples
Fires a `raid` event
Simulates a `raid` from Dr. Disrespect with 10,000 viewers