Skip to main content
Version: Next

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

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