Skip to main content
Defined in: dev/defineBot.ts:48 A bot factory: receives the transport provider to use and returns the configured (not yet started) Bot. It may be async (e.g. to load data before registering handlers). It must pass provider to new Bot({ provider }) and must NOT call bot.start() — the caller (your main block, or botmesh dev) starts it.

Parameters

Returns

Bot | Promise<Bot>