API v8 - DeprecatedInterfacesRESTOAuth2AdvancedBotAuthorizationQueryVersion: 0.37.12On this pageRESTOAuth2AdvancedBotAuthorizationQuery https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization@deprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10.Index Propertiesclient_iddisable_guild_selectguild_idpermissionsredirect_uriresponse_typescopeProperties client_idclient_id: stringoptionaldisable_guild_selectdisable_guild_select?: booleanoptionalguild_idguild_id?: stringoptionalpermissionspermissions?: stringThe required permissions bitfield, stringifiedoptionalredirect_uriredirect_uri?: stringresponse_typeresponse_type: stringscopescope: Bot | `${string} bot` | `${string}%20bot` | `bot ${string}` | `bot%20${string}` | `${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)
https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.