Skip to content
Interfacegatewayv0.11.0

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

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.

emojis?: EmojiConfig
emojis: { ThumbsUp: 'thumbsup', Lol: ['lol_1', '1872389747982323426'] }

Inherited from:BotConfig

See also:EmojiConfig, Emojis