Skip to main content
Version: 0.37.91

RESTOAuth2AdvancedBotAuthorizationQuery

@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

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

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