From fa740eb16c8bba9d2c9c915d2e0139e5e1211040 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 11 Mar 2022 22:53:08 +0000 Subject: [PATCH] fix(APIGuildIntegrationType): correct name of type (#366) BREAKING CHANGE: `APIGuildInteractionType` is now correctly named `APIGuildIntegrationType` --- deno/payloads/v10/guild.ts | 4 ++-- deno/payloads/v9/guild.ts | 4 ++-- payloads/v10/guild.ts | 4 ++-- payloads/v9/guild.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index fbebfe39a..54c53cbd5 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -681,7 +681,7 @@ export interface APIGuildIntegration { /** * Integration type */ - type: APIGuildInteractionType; + type: APIGuildIntegrationType; /** * Is this integration enabled */ @@ -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 diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index fbebfe39a..54c53cbd5 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -681,7 +681,7 @@ export interface APIGuildIntegration { /** * Integration type */ - type: APIGuildInteractionType; + type: APIGuildIntegrationType; /** * Is this integration enabled */ @@ -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 diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index c0445f73f..6c62f0a56 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -681,7 +681,7 @@ export interface APIGuildIntegration { /** * Integration type */ - type: APIGuildInteractionType; + type: APIGuildIntegrationType; /** * Is this integration enabled */ @@ -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 diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index c0445f73f..6c62f0a56 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -681,7 +681,7 @@ export interface APIGuildIntegration { /** * Integration type */ - type: APIGuildInteractionType; + type: APIGuildIntegrationType; /** * Is this integration enabled */ @@ -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