Skip to content
Interfaceplugin-oauthv0.1.0

BotLinkOptions

What a link can set when its scopes include bot, which adds the bot to a server during the login.

interface BotLinkOptions

disableGuildSelect

With guildId, stops the visitor from picking another server.

disableGuildSelect?: boolean | undefined

guildId

The server that Discord's picker starts on.

guildId?: string | undefined

permissions

The permissions to request for the bot as a bitfield. Without it, the bot will join with zero perms.

permissions?: bigint | string | undefined