Skip to content

Commit

Permalink
fix(APIGuildIntegrationType): correct name of type (#366)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `APIGuildInteractionType` is now correctly named `APIGuildIntegrationType`
  • Loading branch information
Jiralite committed Mar 11, 2022
1 parent 8cb629b commit fa740eb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions deno/payloads/v10/guild.ts
Expand Up @@ -681,7 +681,7 @@ export interface APIGuildIntegration {
/**
* Integration type
*/
type: APIGuildInteractionType;
type: APIGuildIntegrationType;
/**
* Is this integration enabled
*/
Expand Down Expand Up @@ -760,7 +760,7 @@ export interface APIGuildIntegration {
application?: APIGuildIntegrationApplication;
}

export type APIGuildInteractionType = 'twitch' | 'youtube' | 'discord';
export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';

/**
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors
Expand Down
4 changes: 2 additions & 2 deletions deno/payloads/v9/guild.ts
Expand Up @@ -681,7 +681,7 @@ export interface APIGuildIntegration {
/**
* Integration type
*/
type: APIGuildInteractionType;
type: APIGuildIntegrationType;
/**
* Is this integration enabled
*/
Expand Down Expand Up @@ -760,7 +760,7 @@ export interface APIGuildIntegration {
application?: APIGuildIntegrationApplication;
}

export type APIGuildInteractionType = 'twitch' | 'youtube' | 'discord';
export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';

/**
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors
Expand Down
4 changes: 2 additions & 2 deletions payloads/v10/guild.ts
Expand Up @@ -681,7 +681,7 @@ export interface APIGuildIntegration {
/**
* Integration type
*/
type: APIGuildInteractionType;
type: APIGuildIntegrationType;
/**
* Is this integration enabled
*/
Expand Down Expand Up @@ -760,7 +760,7 @@ export interface APIGuildIntegration {
application?: APIGuildIntegrationApplication;
}

export type APIGuildInteractionType = 'twitch' | 'youtube' | 'discord';
export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';

/**
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors
Expand Down
4 changes: 2 additions & 2 deletions payloads/v9/guild.ts
Expand Up @@ -681,7 +681,7 @@ export interface APIGuildIntegration {
/**
* Integration type
*/
type: APIGuildInteractionType;
type: APIGuildIntegrationType;
/**
* Is this integration enabled
*/
Expand Down Expand Up @@ -760,7 +760,7 @@ export interface APIGuildIntegration {
application?: APIGuildIntegrationApplication;
}

export type APIGuildInteractionType = 'twitch' | 'youtube' | 'discord';
export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';

/**
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors
Expand Down

0 comments on commit fa740eb

Please sign in to comment.