Skip to content
Interfacetypesv0.14.4

Config

Main configuration object for Seedcord bot

interface Config

botColor

Accent and embed color applied to every BuilderComponent (embeds, containers).

Omit for Discord's default color.

botColor?: BotColor

errors

Settings for how the framework renders errors and reports faults.

errors?: ErrorsConfig

lifecycle

Set this when your platform kills the process on a shorter timer than seedcord's default.

lifecycle?: LifecycleConfig

logger

Logging level, sinks, and per-channel overrides. Omitted fields keep the transport's defaults.

logger?: LoggerConfig

notifications

Settings for framework-sent error notifications.

notifications?: NotificationsConfig

ownerIds

User ids the OwnerOnly gate treats as bot owners.

ownerIds?: string[]

runtime

Deployment target. seedcord build reads it from the constructed instance. 'server' is a long-running node process, 'edge' is a bundled isolate.

runtime?: 'server' | 'edge'

Default:'server'

store

The in-memory default resets on restart and is per-isolate on serverless. Pass a durable store to keep framework state across restarts and isolates.

store?: Store<'charge'>