API v10InterfacesRESTOAuth2AdvancedBotAuthorizationQueryVersion: NextOn this pageRESTOAuth2AdvancedBotAuthorizationQuery https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorizationIndex 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 | `bot ${string}` | `${string} bot` | `${string} bot ${string}`This assumes you include the bot scope alongside others (like identify for example)
https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization