Skip to content

Defined in: zaun/js/index.d.ts:170

A bot’s public card: every member can read what it was granted.

app_id: string

Defined in: zaun/js/index.d.ts:173


bot_id: string

Defined in: zaun/js/index.d.ts:171


capabilities: Required<Omit<BotCapabilities, "local_network">> & Pick<BotCapabilities, "local_network">

Defined in: zaun/js/index.d.ts:182


optional config?: Record<string, BotConfigKey>

Defined in: zaun/js/index.d.ts:186

The settings it declares, never their values (absent when none).


optional description?: string

Defined in: zaun/js/index.d.ts:175


events: string[]

Defined in: zaun/js/index.d.ts:184


granted_at: number

Defined in: zaun/js/index.d.ts:190


installed_at: number

Defined in: zaun/js/index.d.ts:187


installed_by: string

Defined in: zaun/js/index.d.ts:188


kind: "hosted" | "external"

Defined in: zaun/js/index.d.ts:179


member_id: string

Defined in: zaun/js/index.d.ts:172


name: string

Defined in: zaun/js/index.d.ts:174


permissions: string

Defined in: zaun/js/index.d.ts:181


publisher: string

Defined in: zaun/js/index.d.ts:177


optional requested?: object

Defined in: zaun/js/index.d.ts:183

capabilities: BotCapabilities

permissions: string


signed: boolean

Defined in: zaun/js/index.d.ts:178


optional source?: BotSource

Defined in: zaun/js/index.d.ts:194

Where the host confirmed the running version came from; absent from older hosts and for bots installed before they recorded it (read that as direct). kind is the host’s claim: show Official or Community only when registry_id is also the key id you pin.


state: "enabled" | "disabled" | "pending_approval" | "crashed"

Defined in: zaun/js/index.d.ts:180


updated_at: number

Defined in: zaun/js/index.d.ts:189


version: string

Defined in: zaun/js/index.d.ts:176