Discord.https - v3.0.16
    Preparing search index...

    Interface RESTOAuth2AdvancedBotAuthorizationQuery

    interface RESTOAuth2AdvancedBotAuthorizationQuery {
        client_id: string;
        disable_guild_select?: boolean;
        guild_id?: string;
        permissions?: string;
        redirect_uri?: string;
        response_type: string;
        scope:
            | "bot"
            | `bot ${string}`
            | `${string} bot ${string}`
            | `${string} bot`;
    }
    Index

    Properties

    client_id: string
    disable_guild_select?: boolean
    guild_id?: string
    permissions?: string

    The required permissions bitfield, stringified

    redirect_uri?: string
    response_type: string
    scope: "bot" | `bot ${string}` | `${string} bot ${string}` | `${string} bot`

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