# GatewayConfig

`interface` in `gateway` · v0.9.0

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

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

### subscribers

```ts
subscribers: SubscribersConfig;
```
