PopiiServerSetting
Popii / PopiiServerSetting
Interface: PopiiServerSetting
Section titled “Interface: PopiiServerSetting”Defined in: types.ts:401
Properties
Section titled “Properties”id:
string
Defined in: types.ts:402
label:
string
Defined in: types.ts:403
description?
Section titled “description?”
optionaldescription?: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
options?
Section titled “options?”
optionaloptions?:object[]
Defined in: types.ts:406
label:
string
value:
string
tokens?
Section titled “tokens?”
optionaltokens?:object[]
Defined in: types.ts:408
Token chips shown above a richtext input. Clicking inserts the token at cursor.
label:
string
value:
string
default?
Section titled “default?”
optionaldefault?:any
Defined in: types.ts:409
category?
Section titled “category?”
optionalcategory?:string
Defined in: types.ts:410
pluginId?
Section titled “pluginId?”
optionalpluginId?:string
Defined in: types.ts:412
Owning plugin id used to route this field into its focused dashboard workspace.
section?
Section titled “section?”
optionalsection?:string
Defined in: types.ts:414
Stable task-oriented workspace section. Falls back to group/category when omitted.
requiredForSetup?
Section titled “requiredForSetup?”
optionalrequiredForSetup?:boolean
Defined in: types.ts:416
Marks a value as required before the plugin reports ready for a guild.
group?
Section titled “group?”
optionalgroup?: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.
importance?
Section titled “importance?”
optionalimportance?:"essential"|"recommended"|"advanced"
Defined in: types.ts:420
Controls where a field appears in generated guided setup.
dependsOn?
Section titled “dependsOn?”
optionaldependsOn?:object
Defined in: types.ts:422
Show or enable this field only when another setting matches.
settingId
Section titled “settingId”settingId:
string
equals
Section titled “equals”equals:
string|number|boolean
visibleWhen?
Section titled “visibleWhen?”
optionalvisibleWhen?:object
Defined in: types.ts:423
settingId
Section titled “settingId”settingId:
string
equals
Section titled “equals”equals:
string|number|boolean
presetRole?
Section titled “presetRole?”
optionalpresetRole?:string
Defined in: types.ts:425
Semantic role used by setup presets without exposing the setting id.
preview?
Section titled “preview?”
optionalpreview?:object
Defined in: types.ts:426
kind:
"text"|"color"|"embed"|"message"
title?
Section titled “title?”
optionaltitle?:string
optionalhelp?:object
Defined in: types.ts:427
summary
Section titled “summary”summary:
string
optionalhref?:string
restartRequired?
Section titled “restartRequired?”
optionalrestartRequired?:boolean
Defined in: types.ts:428
channelTypes?
Section titled “channelTypes?”
optionalchannelTypes?:number[]
Defined in: types.ts:429
optionalmin?:number
Defined in: types.ts:430
optionalmax?:number
Defined in: types.ts:431
paragraph?
Section titled “paragraph?”
optionalparagraph?:boolean
Defined in: types.ts:432
hidden?
Section titled “hidden?”
optionalhidden?: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.