feat: Add IdentifyPremium scope to OAuth2Scope enum (#5183)

This commit is contained in:
Fleny
2026-07-26 06:16:17 +05:30
committed by GitHub
parent 98f87b9bf7
commit 4a28ac4ff0
+7
View File
@@ -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)