Skip to content

Commit

Permalink
feat(APIGuildIntegration): add scopes (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvito7 committed Aug 29, 2022
1 parent f69b586 commit 73d15dd
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deno/payloads/v10/guild.ts
Expand Up @@ -4,6 +4,7 @@

import type { APIEmoji } from './emoji.ts';
import type { PresenceUpdateStatus } from './gateway.ts';
import type { OAuth2Scopes } from './oauth2.ts';
import type { APIRole } from './permissions.ts';
import type { APISticker } from './sticker.ts';
import type { APIUser } from './user.ts';
Expand Down Expand Up @@ -698,6 +699,10 @@ export interface APIGuildIntegration {
* **This field is not provided for `discord` bot integrations.**
*/
application?: APIGuildIntegrationApplication;
/**
* The scopes the application has been authorized for
*/
scopes?: OAuth2Scopes[];
}

export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';
Expand Down
5 changes: 5 additions & 0 deletions deno/payloads/v9/guild.ts
Expand Up @@ -4,6 +4,7 @@

import type { APIEmoji } from './emoji.ts';
import type { PresenceUpdateStatus } from './gateway.ts';
import type { OAuth2Scopes } from './oauth2.ts';
import type { APIRole } from './permissions.ts';
import type { APISticker } from './sticker.ts';
import type { APIUser } from './user.ts';
Expand Down Expand Up @@ -698,6 +699,10 @@ export interface APIGuildIntegration {
* **This field is not provided for `discord` bot integrations.**
*/
application?: APIGuildIntegrationApplication;
/**
* The scopes the application has been authorized for
*/
scopes?: OAuth2Scopes[];
}

export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';
Expand Down
5 changes: 5 additions & 0 deletions payloads/v10/guild.ts
Expand Up @@ -4,6 +4,7 @@

import type { APIEmoji } from './emoji';
import type { PresenceUpdateStatus } from './gateway';
import type { OAuth2Scopes } from './oauth2';
import type { APIRole } from './permissions';
import type { APISticker } from './sticker';
import type { APIUser } from './user';
Expand Down Expand Up @@ -698,6 +699,10 @@ export interface APIGuildIntegration {
* **This field is not provided for `discord` bot integrations.**
*/
application?: APIGuildIntegrationApplication;
/**
* The scopes the application has been authorized for
*/
scopes?: OAuth2Scopes[];
}

export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';
Expand Down
5 changes: 5 additions & 0 deletions payloads/v9/guild.ts
Expand Up @@ -4,6 +4,7 @@

import type { APIEmoji } from './emoji';
import type { PresenceUpdateStatus } from './gateway';
import type { OAuth2Scopes } from './oauth2';
import type { APIRole } from './permissions';
import type { APISticker } from './sticker';
import type { APIUser } from './user';
Expand Down Expand Up @@ -698,6 +699,10 @@ export interface APIGuildIntegration {
* **This field is not provided for `discord` bot integrations.**
*/
application?: APIGuildIntegrationApplication;
/**
* The scopes the application has been authorized for
*/
scopes?: OAuth2Scopes[];
}

export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';
Expand Down

0 comments on commit 73d15dd

Please sign in to comment.