Skip to main content
Version: 0.37.12

RESTOAuth2AdvancedBotAuthorizationQuery

@deprecated

API v6 is deprecated and the types will not receive further updates, please update to v8.

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

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