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

Bot

Overview

Properties

Methods

Constructor

new Bot(auth, params)

Parameter Type Required Default Description
auth AuthProvider none none
params object none see below
params.channel string none none
params.channels undefined | Array<string> | () => T | Promise<T> none none
params.commands Array<BotCommand> none none
params.debug boolean none none
params.prefix string none none

Properties

chat

Type: ChatClient

Methods

create(config)

staticasync
Parameter Type Required Default Description
config BotConfig none none
Return type: Bot