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

BotCommand

Overview

Properties

Properties

aliases

Type: Array<string>

name

Type: string

Methods

execute(params, context)

ParameterTypeRequiredDefaultDescription
paramsArray<string>nonenone
contextBotCommandContextnonenone
Return type: void | Promise<void>

match(line, prefix)

ParameterTypeRequiredDefaultDescription
linestringnonenone
prefixstringnonenone
Return type: Array<string> | null