Overview
Constructor
new Bot(api, params)
Parameter | Type | Description |
---|---|---|
api | ApiClient | none |
params | object | see below |
params.channel | string | none |
params.channels | undefined | Array<string> | () => T | Promise<T> | none |
params.commands | Array<BotCommand> | none |
params.debug | boolean | none |
params.prefix | string | none |