N

settings

namespace settings

Functions

F

getSections(): Record<string, SettingsEntry>

Returns the current registry of settings entries.

Returns

A record of entry key to its SettingsEntry.

F

registerSection(...entries: SettingsEntry[]): void

Registers one or more settings entries into the section registry, warning on key collisions.

F

removeSection(...keys: string[]): void

Removes one or more settings entries from the section registry by key.

Types

A registered Unbound settings entry, mirroring Discord's SETTING_RENDERER_CONFIG route shape.