# HttpServerConfig

`interface` in `http` · v0.11.0

<https://seedcord.org/docs/packages/http/0.11.0/interfaces/http-server-config>

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

```ts
interface HttpServerConfig extends Config
```

## Properties

### bot

```ts
bot: HttpBotConfig<Partial<RESTOptions>>;
```

### botColor

```ts
botColor?: BotColor
```

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

Omit for Discord's default color.

### errors

```ts
errors?: ErrorsConfig
```

Settings for how the framework renders errors and reports faults.

### healthCheck

```ts
healthCheck?: boolean | Pick<HealthCheckConfig, 'path'>
```

The health path on the interactions server. It answers 503 until startup finishes, then 200.
`false` turns it off, `true` or omit for `/health`, `{ path }` sets the path.

### lifecycle

```ts
lifecycle?: LifecycleConfig
```

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

### logger

```ts
logger?: LoggerConfig
```

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

### notifications

```ts
notifications?: NotificationsConfig
```

Settings for framework-sent error notifications.

### ownerIds

```ts
ownerIds?: string[]
```

User ids the `OwnerOnly` gate treats as bot owners.

### port

```ts
port?: number | false
```

Port the interactions server uses. `false` turns off the built-in server. Mount
`seedcord.fetch()` in your own server to answer requests.

### store

```ts
store?: Store<'charge'>
```

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.

### subscribers

```ts
subscribers: SubscribersConfig;
```
