Skip to main content
Module

x/discord_api_types/payloads/v8/oauth2.ts>OAuth2Scopes

Up to date Discord API Typings, versioned by the API version
Go to Latest
enum OAuth2Scopes
Deprecated
Deprecated

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

import { OAuth2Scopes } from "https://deno.land/x/discord_api_types@0.37.2/payloads/v8/oauth2.ts";

Members

ActivitiesRead = "activities.read"

Allows your app to fetch data from a user's "Now Playing/Recently Played" list - requires Discord approval

ActivitiesWrite = "activities.write"

Allows your app to update a user's activity - requires Discord approval (NOT REQUIRED FOR GAMESDK ACTIVITY MANAGER)

See https://discord.com/developers/docs/game-sdk/activities

ApplicationsBuildsRead = "applications.builds.read"

Allows your app to read build data for a user's applications

ApplicationsBuildsUpload = "applications.builds.upload"

Allows your app to upload/update builds for a user's applications - requires Discord approval

ApplicationsCommands = "applications.commands"

Allows your app to use Application Commands in a guild

See https://discord.com/developers/docs/interactions/application-commands

ApplicationsCommandsUpdate = "applications.commands.update"

Allows your app to update its Application Commands via this bearer token - client credentials grant only

See https://discord.com/developers/docs/interactions/application-commands

ApplicationsEntitlements = "applications.entitlements"

Allows your app to read entitlements for a user's applications

ApplicationsStoreUpdate = "applications.store.update"

Allows your app to read and update store data (SKUs, store listings, achievements, etc.) for a user's applications

Bot = "bot"

For oauth2 bots, this puts the bot in the user's selected guild by default

Connections = "connections"
GroupDMJoins = "gdm.join"
Guilds = "guilds"

Allows /users/@me/guilds to return basic information about all of a user's guilds

See https://discord.com/developers/docs/resources/user#get-current-user-guilds

GuildsJoin = "guilds.join"
GuildsMembersRead = "guilds.members.read"

Allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild

See https://discord.com/developers/docs/resources/guild#get-current-user-guild-member

MessagesRead = "messages.read"

For local rpc server api access, this allows you to read messages from all client channels (otherwise restricted to channels/guilds your app creates)

RelationshipsRead = "relationships.read"

Allows your app to know a user's friends and implicit relationships - requires Discord approval

RPC = "rpc"

For local rpc server access, this allows you to control a user's local Discord client - requires Discord approval

RPCNotificationsRead = "rpc.notifications.read"

For local rpc server api access, this allows you to receive notifications pushed out to the user - requires Discord approval

WebhookIncoming = "webhook.incoming"

This generates a webhook that is returned in the oauth token response for authorization code grants