Skip to content

PopiiServerSetting

Popii


Popii / PopiiServerSetting

Defined in: types.ts:401

id: string

Defined in: types.ts:402


label: string

Defined in: types.ts:403


optional description?: string

Defined in: types.ts:404


type: "number" | "boolean" | "text" | "select" | "channel" | "role" | "richtext" | "multirole" | "multichannel" | "multicommand" | "color" | "duration" | "secret-status" | "computed"

Defined in: types.ts:405


optional options?: object[]

Defined in: types.ts:406

label: string

value: string


optional tokens?: object[]

Defined in: types.ts:408

Token chips shown above a richtext input. Clicking inserts the token at cursor.

label: string

value: string


optional default?: any

Defined in: types.ts:409


optional category?: string

Defined in: types.ts:410


optional pluginId?: string

Defined in: types.ts:412

Owning plugin id used to route this field into its focused dashboard workspace.


optional section?: string

Defined in: types.ts:414

Stable task-oriented workspace section. Falls back to group/category when omitted.


optional requiredForSetup?: boolean

Defined in: types.ts:416

Marks a value as required before the plugin reports ready for a guild.


optional group?: string

Defined in: types.ts:418

Optional sub-heading within a category tab. Fields with the same group value are rendered together under a shared label.


optional importance?: "essential" | "recommended" | "advanced"

Defined in: types.ts:420

Controls where a field appears in generated guided setup.


optional dependsOn?: object

Defined in: types.ts:422

Show or enable this field only when another setting matches.

settingId: string

equals: string | number | boolean


optional visibleWhen?: object

Defined in: types.ts:423

settingId: string

equals: string | number | boolean


optional presetRole?: string

Defined in: types.ts:425

Semantic role used by setup presets without exposing the setting id.


optional preview?: object

Defined in: types.ts:426

kind: "text" | "color" | "embed" | "message"

optional title?: string


optional help?: object

Defined in: types.ts:427

summary: string

optional href?: string


optional restartRequired?: boolean

Defined in: types.ts:428


optional channelTypes?: number[]

Defined in: types.ts:429


optional min?: number

Defined in: types.ts:430


optional max?: number

Defined in: types.ts:431


optional paragraph?: boolean

Defined in: types.ts:432


optional hidden?: boolean

Defined in: types.ts:434

If true the setting is saved by the route but not rendered as a standard field. Use for custom UI sections that manage the value directly.