Skip to main content
Defined in: core/errors.ts:14 A send (bot.send, ctx.reply, an edit…) was attempted while the bot is not running: before bot.start() (or after a failed start), or after bot.stop(). Nothing reached the provider. Sends are accepted from the moment the transport starts connecting (so a 'ready' listener can send) until stop() stops the transport.

Extends

  • Error

Constructors

Constructor

Defined in: core/errors.ts:18

Parameters

Returns

BotNotRunningError

Overrides

Error.constructor

Properties

code

Defined in: core/errors.ts:15

operation

Defined in: core/errors.ts:17 What was attempted: 'send', 'edit', 'stream' or 'delete'.