enum OAuth2Scopes

external
export declare enum OAuth2Scopes

Types extracted from https://discord.com/developers/docs/topics/oauth2

Members

external
ActivitiesRead = "activities.read"

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

external
ActivitiesWrite = "activities.write"

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

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

external
ApplicationCommandsPermissionsUpdate = "applications.commands.permissions.update"

Allows your app to update permissions for its commands using a Bearer token - client credentials grant only

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

external
ApplicationsBuildsRead = "applications.builds.read"

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

external
ApplicationsBuildsUpload = "applications.builds.upload"

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

external
ApplicationsCommands = "applications.commands"

Allows your app to use Application Commands in a guild

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

external
ApplicationsCommandsUpdate = "applications.commands.update"

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

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

external
ApplicationsEntitlements = "applications.entitlements"

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

external
ApplicationsStoreUpdate = "applications.store.update"

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

external
Bot = "bot"

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

external
Connections = "connections"

Allows `/users/@me/connections` to return linked third-party accounts

See also: https://discord.com/developers/docs/resources/user#get-user-connections

external
DMChannelsRead = "dm_channels.read"

Allows your app to see information about the user's DMs and group DMs - requires Discord approval

external
Email = "email"

Enables `/users/@me` to return an email

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

external
GroupDMJoins = "gdm.join"

Allows your app to join users to a group dm

See also: https://discord.com/developers/docs/resources/channel#group-dm-add-recipient

external
Guilds = "guilds"

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

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

external
GuildsJoin = "guilds.join"

Allows `/guilds/[guild.id]/members/[user.id]` to be used for joining users to a guild

See also: https://discord.com/developers/docs/resources/guild#add-guild-member

external
GuildsMembersRead = "guilds.members.read"

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

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

external
Identify = "identify"

Allows `/users/@me` without email

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

external
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)

external
RelationshipsRead = "relationships.read"

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

external
RoleConnectionsWrite = "role_connections.write"

Allows your app to update a user's connection and metadata for the app

external
RPC = "rpc"

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

external
RPCActivitiesWrite = "rpc.activities.write"

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

external
RPCNotificationsRead = "rpc.notifications.read"

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

external
RPCVoiceRead = "rpc.voice.read"

For local rpc server access, this allows you to read a user's voice settings and listen for voice events - requires Discord approval

external
RPCVoiceWrite = "rpc.voice.write"

For local rpc server access, this allows you to update a user's voice settings - requires Discord approval

external
Voice = "voice"

Allows your app to connect to voice on user's behalf and see all the voice members - requires Discord approval

external
WebhookIncoming = "webhook.incoming"

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