twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks

Bot

Overview

Properties

Methods

Constructor

new Bot(api, params)

ParameterTypeDescription
apiApiClientnone
paramsobjectsee below
params.channelstringnone
params.channelsundefined | Array<string> | () => T | Promise<T>none
params.commandsArray<BotCommand>none
params.debugbooleannone
params.prefixstringnone

Properties

api

Type: ApiClient

chat

Type: ChatClient

Methods

create(config)

staticasync
ParameterTypeDescription
configBotConfignone
Return type: Bot