Skip to content
Interfacetypesv0.17.0

ServerHostConfig

Config for a bot that runs as a node or bun process.

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

server

The bot's web server.

server?: ServerConfig
// listens on 8080 and answers the health check on /healthz
server: { port: 8080, health: '/healthz' }

// keeps the bot off every port so your own server can pass it requests
server: { port: false }

Default:a server on port 3000 that answers /health