Skip to content
Interfacegatewayv0.7.5

GatewayConfig

The gateway transport's configuration, what the Seedcord constructor takes.

interface GatewayConfig extends Config

botColor

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

Omit for Discord's default color.

botColor?: BotColor

Inherited from:Config

errors

Settings for how the framework renders errors and reports faults.

errors?: ErrorsConfig

Inherited from:Config

healthCheck

The health-check server. false disables it, true or omit for the defaults, an object configures it.

healthCheck?: HealthCheckOption

lifecycle

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

lifecycle?: LifecycleConfig

Inherited from:Config

logger

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

logger?: LoggerConfig

Inherited from:Config

ownerIds

User ids the OwnerOnly gate treats as bot owners.

ownerIds?: string[]

Inherited from:Config

runtime

The gateway websocket requires a persistent process.

runtime?: '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'>

Inherited from:Config