# GatewayBotConfig

`interface` in `gateway` · v0.6.0

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

The gateway transport's bot configuration, the shared [`BotConfig`](/packages/types/0.13.0/interfaces/bot-config) plus the pieces only a gateway bot has, the discord.js client options and the gateway event handlers.

```ts
interface GatewayBotConfig extends BotConfig
```

## Properties

### clientOptions

```ts
clientOptions: ClientOptions;
```

Passed directly to the discord.js `Client` constructor.

### commands

```ts
commands: CommandsConfig;
```

### emojis

```ts
emojis: EmojiConfig;
```

Optional emoji map. Each value is an emoji name loaded from your application emojis, or a `[name, guildId]` tuple loaded from that guild (the guild needs the Guilds intent). Run `seedcord codegen` after changing this to type the `Emojis` accessor.

### events

```ts
events: EventsConfig;
```

### interactions

```ts
interactions: InteractionsConfig;
```
