Skip to main content
Version: 0.37.114

RESTOAuth2BotAuthorizationQuery

Index

Properties

client_id

client_id: string

Your app's client id

optionaldisable_guild_select

disable_guild_select?: boolean

true or false—disallows the user from changing the guild dropdown

optionalguild_id

guild_id?: string

Pre-fills the dropdown picker with a guild for the user

optionalpermissions

permissions?: string

The permissions you're requesting

See https://discord.com/developers/docs/topics/permissions

scope

scope: bot | `bot ${string}` | `${string} bot ${string}` | `${string} bot`

Needs to include bot for the bot flow