Skip to main content
Version: 0.37.111

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

scope

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

Needs to include bot for the bot flow