BotCard
Defined in: zaun/js/index.d.ts:170
A bot’s public card: every member can read what it was granted.
Properties
Section titled “Properties”app_id
Section titled “app_id”app_id:
string
Defined in: zaun/js/index.d.ts:173
bot_id
Section titled “bot_id”bot_id:
string
Defined in: zaun/js/index.d.ts:171
capabilities
Section titled “capabilities”capabilities:
Required<Omit<BotCapabilities,"local_network">> &Pick<BotCapabilities,"local_network">
Defined in: zaun/js/index.d.ts:182
config?
Section titled “config?”
optionalconfig?:Record<string,BotConfigKey>
Defined in: zaun/js/index.d.ts:186
The settings it declares, never their values (absent when none).
description?
Section titled “description?”
optionaldescription?:string
Defined in: zaun/js/index.d.ts:175
events
Section titled “events”events:
string[]
Defined in: zaun/js/index.d.ts:184
granted_at
Section titled “granted_at”granted_at:
number
Defined in: zaun/js/index.d.ts:190
installed_at
Section titled “installed_at”installed_at:
number
Defined in: zaun/js/index.d.ts:187
installed_by
Section titled “installed_by”installed_by:
string
Defined in: zaun/js/index.d.ts:188
kind:
"hosted"|"external"
Defined in: zaun/js/index.d.ts:179
member_id
Section titled “member_id”member_id:
string
Defined in: zaun/js/index.d.ts:172
name:
string
Defined in: zaun/js/index.d.ts:174
permissions
Section titled “permissions”permissions:
string
Defined in: zaun/js/index.d.ts:181
publisher
Section titled “publisher”publisher:
string
Defined in: zaun/js/index.d.ts:177
requested?
Section titled “requested?”
optionalrequested?:object
Defined in: zaun/js/index.d.ts:183
capabilities
Section titled “capabilities”capabilities:
BotCapabilities
permissions
Section titled “permissions”permissions:
string
signed
Section titled “signed”signed:
boolean
Defined in: zaun/js/index.d.ts:178
source?
Section titled “source?”
optionalsource?: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
Section titled “updated_at”updated_at:
number
Defined in: zaun/js/index.d.ts:189
version
Section titled “version”version:
string
Defined in: zaun/js/index.d.ts:176