Skip to main content
Version: 0.35.0

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

Needs to include bot for the bot flow