Skip to main content
Version: 0.37.99

RESTOAuth2BotAuthorizationQuery

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

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}` | `bot%20${string}` | `${string} bot` | `${string}%20bot` | `${string} bot${string} ` | `${string} bot${string}%20` | `${string}%20bot${string} ` | `${string}%20bot${string}%20`

Needs to include bot for the bot flow