From eb6b472f72488cad7e96befccc00270cf6dc01b8 Mon Sep 17 00:00:00 2001 From: Almeida Date: Tue, 5 Apr 2022 11:25:52 +0100 Subject: [PATCH] refactor(IntegrationApplication): remove `summary` (#7729) --- .../src/structures/IntegrationApplication.js | 10 ---------- packages/discord.js/typings/index.d.ts | 1 - 2 files changed, 11 deletions(-) diff --git a/packages/discord.js/src/structures/IntegrationApplication.js b/packages/discord.js/src/structures/IntegrationApplication.js index 1a81df1f0..498500848 100644 --- a/packages/discord.js/src/structures/IntegrationApplication.js +++ b/packages/discord.js/src/structures/IntegrationApplication.js @@ -50,16 +50,6 @@ class IntegrationApplication extends Application { this.rpcOrigins ??= []; } - if ('summary' in data) { - /** - * The application's summary - * @type {?string} - */ - this.summary = data.summary; - } else { - this.summary ??= null; - } - if ('hook' in data) { /** * Whether the application can be default hooked by the client diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index a4b08d3ad..509010e29 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1408,7 +1408,6 @@ export class IntegrationApplication extends Application { public termsOfServiceURL: string | null; public privacyPolicyURL: string | null; public rpcOrigins: string[]; - public summary: string | null; public hook: boolean | null; public cover: string | null; public verifyKey: string | null;