namespace yawaflua.Discord.Net.Entities.Enums; /// /// Represents the OAuth2 scopes available for a Discord application. /// ///

/// Credit to DSharpPlus ///
///
public enum OAuthScope { /// /// Allows /users/@me without email. /// Identify, /// /// Enables /users/@me to return email. /// Email, /// /// Allows /users/@me/connections to return linked third-party accounts. /// Connections, /// /// Allows /users/@me/guilds to return basic information about all of a user's guilds. /// Guilds, /// /// Allows /guilds/{guild.id}/members/{user.id} to be used for joining users into a guild. /// GuildsJoin, /// /// Allows /users/@me/guilds/{guild.id}/members to return a user's member information in a guild. /// GuildsMembersRead, /// Allows your app to join users into a group DM. GdmJoin, /// /// For local RPC server access, this allows you to control a user's local Discord client. /// /// This scope requires Discord approval. Rpc, /// /// For local RPC server access, this allows you to receive notifications pushed to the user. /// /// This scope requires Discord approval. RpcNotificationsRead, /// /// For local RPC server access, this allows you to read a user's voice settings and listen for voice events. /// /// This scope requires Discord approval. RpcVoiceRead, /// /// For local RPC server access, this allows you to update a user's voice settings. /// /// This scope requires Discord approval. RpcVoiceWrite, /// /// For local RPC server access, this allows you to update a user's activity. /// /// This scope requires Discord approval. RpcActivitiesWrite, /// /// For OAuth2 bots, this puts the bot in the user's selected guild by default. /// Bot, /// /// This generates a webhook that is returned in the OAuth token response for authorization code grants. /// WebhookIncoming, /// /// For local RPC server access, this allows you to read messages from all client channels /// (otherwise restricted to channels/guilds your application creates). /// MessagesRead, /// /// Allows your application to upload/update builds for a user's applications. /// /// This scope requires Discord approval. ApplicationsBuildsUpload, /// /// Allows your application to read build data for a user's applications. /// ApplicationsBuildsRead, /// /// Allows your application to use application commands in a guild. /// ApplicationsCommands, /// /// Allows your application to read and update store data (SKUs, store listings, achievements etc.) for a user's applications. /// ApplicationsStoreUpdate, /// /// Allows your application to read entitlements for a user's applications. /// ApplicationsEntitlements, /// /// Allows your application to fetch data from a user's "Now Playing/Recently Played" list. /// /// This scope requires Discord approval. ActivitiesRead, /// Allows your application to update a user's activity. /// /// Outside of the GameSDK activity manager, this scope requires Discord approval. /// ActivitiesWrite, /// /// Allows your application to know a user's friends and implicit relationships. /// /// This scope requires Discord approval. RelationshipsRead, }