Skip to main content
Version: 0.37.103

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)