Skip to main content
Module

x/discord_api_types/v10.ts>RESTOAuth2AdvancedBotAuthorizationQuery

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTOAuth2AdvancedBotAuthorizationQuery
import { type RESTOAuth2AdvancedBotAuthorizationQuery } from "https://deno.land/x/discord_api_types@0.37.11/v10.ts";

Properties

client_id: Snowflake
scope:
| OAuth2Scopes.Bot
| `${string}${" " | "%20"}${OAuth2Scopes.Bot}`
| `${OAuth2Scopes.Bot}${" " | "%20"}${string}`
| `${string}${" " | "%20"}${OAuth2Scopes.Bot}${string}${" " | "%20"}`

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

optional
permissions: Permissions

The required permissions bitfield, stringified

optional
guild_id: Snowflake
optional
disable_guild_select: boolean
response_type: string
optional
redirect_uri: string