ChatBotOptions
The options to build up a chatbot.
Type parameters
Type parameter | Value |
---|---|
T extends EventSubConnection | EventSubConnection |
Properties
Property | Type | Description |
---|---|---|
clientId | string | The client Id of the Twitch’s application. |
clientSecret | string | The client secret of the Twitch’s application. |
connectionType | T | The eventsub connection type of the chatbot. See EventSubConnection. |
eventsub | EventSubOptions <T > | The options to build up the eventsub connection. See EventSubOptions. |
helix? | Partial <HelixClientOptions > | The options to build up the helix client. |
optionOperator? | string | The operator to separate the options in the command. |
paths | Paths | The paths of the diffrent resources of the chatbot. See Paths. |
prefix? | (message : TwitchContext <object , T >) => string [] | A callback to set up the prefixes of the chatbot commands. |
userToken | UserTokenAdapter <boolean > | The user token of the chatbot Twitch account. |