# GatewayBotConfig

`interface` in `gateway` · v0.11.0

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

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

Emojis that don't have a file in your emojis folder. 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<UnhandledHandler>;
```
