Table of Contents

Enum DiscordOAuthScope

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents the possible OAuth scopes for application authorization.

public enum DiscordOAuthScope
Extension Methods

Fields

ActivitiesRead = 20

Allows your application to fetch data from a user's "Now Playing/Recently Played" list.

ActivitiesWrite = 21

Allows your application to update a user's activity.

ApplicationsBuildsRead = 16

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

ApplicationsBuildsUpload = 15

Allows your application to upload/update builds for a user's applications.

ApplicationsCommands = 17

Allows your application to use application commands in a guild.

ApplicationsEntitlements = 19

Allows your application to read entitlements for a user's applications.

ApplicationsStoreUpdate = 18

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

Bot = 12

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

Connections = 2

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

Email = 1

Enables /users/@me to return email.

GdmJoin = 6

Allows your app to join users into a group DM.

Guilds = 3

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

GuildsJoin = 4

Allows /guilds/{guild.id}/members/{user.id} to be used for joining users into a guild.

GuildsMembersRead = 5

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

Identify = 0

Allows /users/@me without email.

MessagesRead = 14

For local RPC server access, this allows you to read messages from all client channels (otherwise restricted to channels/guilds your application creates).

RelationshipsRead = 22

Allows your application to know a user's friends and implicit relationships.

Rpc = 7

For local RPC server access, this allows you to control a user's local Discord client.

RpcActivitiesWrite = 11

For local RPC server access, this allows you to update a user's activity.

RpcNotificationsRead = 8

For local RPC server access, this allows you to receive notifications pushed to the user.

RpcVoiceRead = 9

For local RPC server access, this allows you to read a user's voice settings and listen for voice events.

RpcVoiceWrite = 10

For local RPC server access, this allows you to update a user's voice settings.

WebhookIncoming = 13

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