diff --git a/deno/payloads/v10/oauth2.ts b/deno/payloads/v10/oauth2.ts index 19ae37fb..45e6244f 100644 --- a/deno/payloads/v10/oauth2.ts +++ b/deno/payloads/v10/oauth2.ts @@ -14,6 +14,10 @@ export enum OAuth2Scopes { * See https://discord.com/developers/docs/resources/user#get-user-connections */ Connections = 'connections', + /** + * Allows your app to see information about the user's DMs and group DMs - requires Discord approval + */ + DMChannelsRead = 'dm_channels.read', /** * Enables [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) to return an `email` * @@ -69,6 +73,10 @@ export enum OAuth2Scopes { * This generates a webhook that is returned in the oauth token response for authorization code grants */ WebhookIncoming = 'webhook.incoming', + /** + * Allows your app to connect to voice on user's behalf and see all the voice members - requires Discord approval + */ + Voice = 'voice', /** * Allows your app to upload/update builds for a user's applications - requires Discord approval */ diff --git a/deno/payloads/v9/oauth2.ts b/deno/payloads/v9/oauth2.ts index 19ae37fb..45e6244f 100644 --- a/deno/payloads/v9/oauth2.ts +++ b/deno/payloads/v9/oauth2.ts @@ -14,6 +14,10 @@ export enum OAuth2Scopes { * See https://discord.com/developers/docs/resources/user#get-user-connections */ Connections = 'connections', + /** + * Allows your app to see information about the user's DMs and group DMs - requires Discord approval + */ + DMChannelsRead = 'dm_channels.read', /** * Enables [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) to return an `email` * @@ -69,6 +73,10 @@ export enum OAuth2Scopes { * This generates a webhook that is returned in the oauth token response for authorization code grants */ WebhookIncoming = 'webhook.incoming', + /** + * Allows your app to connect to voice on user's behalf and see all the voice members - requires Discord approval + */ + Voice = 'voice', /** * Allows your app to upload/update builds for a user's applications - requires Discord approval */ diff --git a/payloads/v10/oauth2.ts b/payloads/v10/oauth2.ts index 19ae37fb..45e6244f 100644 --- a/payloads/v10/oauth2.ts +++ b/payloads/v10/oauth2.ts @@ -14,6 +14,10 @@ export enum OAuth2Scopes { * See https://discord.com/developers/docs/resources/user#get-user-connections */ Connections = 'connections', + /** + * Allows your app to see information about the user's DMs and group DMs - requires Discord approval + */ + DMChannelsRead = 'dm_channels.read', /** * Enables [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) to return an `email` * @@ -69,6 +73,10 @@ export enum OAuth2Scopes { * This generates a webhook that is returned in the oauth token response for authorization code grants */ WebhookIncoming = 'webhook.incoming', + /** + * Allows your app to connect to voice on user's behalf and see all the voice members - requires Discord approval + */ + Voice = 'voice', /** * Allows your app to upload/update builds for a user's applications - requires Discord approval */ diff --git a/payloads/v9/oauth2.ts b/payloads/v9/oauth2.ts index 19ae37fb..45e6244f 100644 --- a/payloads/v9/oauth2.ts +++ b/payloads/v9/oauth2.ts @@ -14,6 +14,10 @@ export enum OAuth2Scopes { * See https://discord.com/developers/docs/resources/user#get-user-connections */ Connections = 'connections', + /** + * Allows your app to see information about the user's DMs and group DMs - requires Discord approval + */ + DMChannelsRead = 'dm_channels.read', /** * Enables [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) to return an `email` * @@ -69,6 +73,10 @@ export enum OAuth2Scopes { * This generates a webhook that is returned in the oauth token response for authorization code grants */ WebhookIncoming = 'webhook.incoming', + /** + * Allows your app to connect to voice on user's behalf and see all the voice members - requires Discord approval + */ + Voice = 'voice', /** * Allows your app to upload/update builds for a user's applications - requires Discord approval */