# HttpServerConfig

`interface` in `http` · v0.10.2

<https://seedcord.org/docs/packages/http/0.10.2/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.

### 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
```

Port the interactions server uses.

### runtime

```ts
runtime?: 'server'
```

### 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;
```
