mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 00:37:22 +00:00
feat: Add IdentifyPremium scope to OAuth2Scope enum (#5183)
This commit is contained in:
@@ -74,6 +74,13 @@ export enum OAuth2Scope {
|
||||
* does NOT contain the `email` field unless the scope `email` is also used
|
||||
*/
|
||||
Identify = 'identify',
|
||||
/**
|
||||
* Allows your app to read a user's Nitro subscription type as defined by `premium_type` on the User object
|
||||
*
|
||||
* @remarks
|
||||
* This scope only available to approved partners to be used
|
||||
*/
|
||||
IdentifyPremium = 'identify.premium',
|
||||
/**
|
||||
* For local rpc server api access, this allows you to read messages from all client channels
|
||||
* (otherwise restricted to channels/guilds your app creates)
|
||||
|
||||
Reference in New Issue
Block a user