Skip to main content
Defined in: core/types.ts:222 What PluginSpec.install() receives: a scoped bot whose registrations are undone on unplug, the logger, the injected tools, the plugin config and onDispose() for extra cleanup.

Type Parameters

Properties

bot

Defined in: core/types.ts:224 Scoped facade of the Bot; registrations auto-track their unsubscribers.

logger

Defined in: core/types.ts:225

tools

Defined in: core/types.ts:226

config

Defined in: core/types.ts:227

Methods

onDispose()

Defined in: core/types.ts:229 Register extra cleanup to run when the plugin is unplugged.

Parameters

Returns

void