Overview
Constructor
new Bot(api, params)
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
api | ApiClient | 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 |