Skip to content

ChatBotOptions

The options to build up a chatbot.

Type parameters

Type parameterValue
T extends EventSubConnectionEventSubConnection

Properties

PropertyTypeDescription
clientIdstringThe client Id of the Twitch’s application.
clientSecretstringThe client secret of the Twitch’s application.
connectionTypeTThe eventsub connection type of the chatbot. See EventSubConnection.
eventsubEventSubOptions<T>The options to build up the eventsub connection. See EventSubOptions.
helix?Partial<HelixClientOptions>The options to build up the helix client.
optionOperator?stringThe operator to separate the options in the command.
pathsPathsThe 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.

userTokenUserTokenAdapter<boolean>The user token of the chatbot Twitch account.