# GatewayConfig

`interface` in `gateway` · v0.7.5

<https://seedcord.org/docs/packages/gateway/0.7.5/interfaces/gateway-config>

The gateway transport's configuration, what the [`Seedcord`](/docs/packages/gateway/0.7.5/classes/seedcord) constructor takes.

```ts
interface GatewayConfig extends Config
```

## Properties

### bot

```ts
bot: GatewayBotConfig;
```

### 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?: HealthCheckOption
```

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

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

### runtime

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

The gateway websocket requires a persistent process.

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