From 4a28ac4ff008ca87f3769da117bd5ddb121c6d61 Mon Sep 17 00:00:00 2001 From: Fleny Date: Sun, 26 Jul 2026 02:46:17 +0200 Subject: [PATCH] feat: Add IdentifyPremium scope to OAuth2Scope enum (#5183) --- packages/types/src/discord/oauth2.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/types/src/discord/oauth2.ts b/packages/types/src/discord/oauth2.ts index 6a49dbc24..bfe3371cc 100644 --- a/packages/types/src/discord/oauth2.ts +++ b/packages/types/src/discord/oauth2.ts @@ -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)