Preview environment

interface RESTOAuth2AdvancedBotAuthorizationQuery

export interface RESTOAuth2AdvancedBotAuthorizationQuery

https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization

client_id : Snowflake

optional
disable_guild_select? : boolean

optional
guild_id? : Snowflake

optional
permissions? : Permissions

The required permissions bitfield, stringified

optional
redirect_uri? : string

response_type : string

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