Skip to content
Interfacegatewayv0.7.5

GatewayBotConfig

The gateway transport's bot configuration, the shared BotConfig plus the pieces only a gateway bot has, the discord.js client options and the gateway event handlers.

interface GatewayBotConfig extends BotConfig

clientOptions

Passed directly to the discord.js Client constructor.

clientOptions: ClientOptions;

emojis

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.

emojis?: EmojiConfig

Inherited from:BotConfig

See also:EmojiConfig, Emojis