# GatewayBotConfig

`interface` in `gateway` · v0.7.5

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

The gateway transport's bot configuration, the shared [`BotConfig`](/docs/packages/types/0.14.4/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;
```
