Skip to content
Interfacehttpv0.10.2

HttpServerConfig

Config for a long-running node server. Pass to new Seedcord(config).start().

interface HttpServerConfig 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

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

port

Port the interactions server uses.

port?: number

Default:3000

runtime

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