Protected ReadonlybotProtectedbusProtectedstartProtectedstatusReturns the EventBus for this service.
Returns a promise that will resolver once a start is successful.
Returns whether the bot is running.
Alias for BotService#getStatus() === BotStatusEnum.Running.
Sets the EventBus for this service. This subscribes all the current subscribers to the new bus.
Starts the bot, that is setting it up and logging.
Subscribes a list of event subscribers to the service's bus.
Alias of:
const bus = botService.getEventBus();
await bus.subscribe(subscriber);
Staticcreate
The object responsible for managing a bot's .