Skip to main content
Module

x/discord_api_types/v8.ts>RESTOAuth2AdvancedBotAuthorizationQuery

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTOAuth2AdvancedBotAuthorizationQuery
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type RESTOAuth2AdvancedBotAuthorizationQuery } from "https://deno.land/x/discord_api_types@0.37.11/v8.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