Skip to main content
Version: 0.37.42

RESTOAuth2AdvancedBotAuthorizationQuery

Index

Properties

client_id

client_id: string

optionaldisable_guild_select

disable_guild_select?: boolean

optionalguild_id

guild_id?: string

optionalpermissions

permissions?: string

The required permissions bitfield, stringified

optionalredirect_uri

redirect_uri?: string

response_type

response_type: string

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

This assumes you include the bot scope alongside others (like identify for example)