Constructor
new TwitchChatEmitter(config)
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
object
|
The config object
|
Methods
Events
Chat:chat_parsed
The chat message parsed to html, with twitch emotes.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
channel |
string
|
The channel in which the command was sent. |
userstate |
object
|
The userstate object. |
message |
string
|
The parsed message. |
self |
bool
|
Whether the command was sent to the user bot or not. |