# GatewayConfig

`interface` in `gateway` · v0.5.1

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

The gateway transport's configuration, what the [`Seedcord`](/packages/gateway/0.5.1/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;
```
