twilight_model::oauth

Module scope

source
Expand description

Known list of available OAuth2 scopes.

Refer to Discord Docs/OAuth 2 Scopes for a complete up-to-date list.

Constants§

  • Allows your app to fetch data from a user’s “Now Playing/Recently Played” list.
  • Allows your app to update a user’s activity
  • Allows your app to read build data for a user’s applications.
  • Allows your app to upload/update builds for a user’s applications.
  • Allows your app to use commands in a guild.
  • Allows your app to update permissions for its commands in a guild a user has permissions to.
  • Allows your app to update its commands using a Bearer token.
  • Allows your app to read entitlements for a user’s applications
  • Allows your app to read and update store data (SKUs, store listings, achievements, etc.) for a user’s applications.
  • For oauth2 bots, this puts the bot in the user’s selected guild by default
  • Allows /users/@me/connections to return linked third-party accounts
  • Allows your app to see information about the user’s DMs and group DMs
  • Enables GET /users/@me returning an email.
  • Allows your app to join users to a group DM.
  • Allows GET /users/@me/guilds to return basic information about all of a user’s guilds.
  • Allows GET /guilds/{guild.id}/members/{user.id} to be used for joining users to a guild.
  • Allows GET /users/@me/guilds/{guild.id}/member to return a user’s member information in a guild.
  • Allows GET /users/@me, but without the user’s email.
  • For local RPC server API access, this allows you to read messages from all client channels (otherwise restricted to channels/guilds your app creates).
  • Allows your app to know a user’s friends and implicit relationships.
  • Allows your app to update a user’s connection and metadata for the app.
  • For local RPC server access, this allows you to control a user’s local Discord client.
  • For local rpc server access, this allows you to update a user’s activity
  • For local RPC server access, this allows you to receive notifications pushed out to the user.
  • For local RPC server access, this allows you to read a user’s voice settings and listen for voice events.
  • For local RPC server access, this allows you to update a user’s voice settings.
  • Allows your app to connect to voice on the user’s behalf and see all the voice members.
  • This generates a webhook that is returned in the oauth token response for authorization code grants.