From 213b4eebdfffba3fc848da39370e80311d37d5bf Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:57:16 +0000 Subject: [PATCH] fix: remove deprecated props --- helpers/guilds/getAuditLogs.ts | 1 - transformers/integration.ts | 1 - types/discord.ts | 2 -- 3 files changed, 4 deletions(-) diff --git a/helpers/guilds/getAuditLogs.ts b/helpers/guilds/getAuditLogs.ts index 996e64d89..fafd23e95 100644 --- a/helpers/guilds/getAuditLogs.ts +++ b/helpers/guilds/getAuditLogs.ts @@ -43,7 +43,6 @@ export async function getAuditLogs(bot: Bot, guildId: bigint, options?: GetGuild name: integration.application.name, icon: integration.application.icon ? bot.utils.iconHashToBigInt(integration.application.icon) : undefined, description: integration.application.description, - summary: integration.application.summary, bot: integration.application.bot ? bot.transformers.user(bot, integration.application.bot) : undefined, } : undefined, diff --git a/transformers/integration.ts b/transformers/integration.ts index b89d505e7..1098fe211 100644 --- a/transformers/integration.ts +++ b/transformers/integration.ts @@ -28,7 +28,6 @@ export function transformIntegration(bot: Bot, payload: DiscordIntegrationCreate name: payload.application.name, icon: payload.application.icon ? bot.utils.iconHashToBigInt(payload.application.icon) : undefined, description: payload.application.description, - summary: payload.application.summary, bot: payload.application.bot ? bot.transformers.user(bot, payload.application.bot) : undefined, } : undefined, diff --git a/types/discord.ts b/types/discord.ts index 418705547..89a899ff6 100644 --- a/types/discord.ts +++ b/types/discord.ts @@ -150,8 +150,6 @@ export interface DiscordIntegrationApplication { icon: string | null; /** The description of the app */ description: string; - /** The summary of the app */ - summary: string; /** The bot associated with this application */ bot?: DiscordUser;