diff --git a/packages/discord.js/src/structures/IntegrationApplication.js b/packages/discord.js/src/structures/IntegrationApplication.js index 498500848..406c1d81c 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 ('hook' in data) { - /** - * Whether the application can be default hooked by the client - * @type {?boolean} - */ - this.hook = data.hook; - } else { - this.hook ??= null; - } - if ('cover_image' in data) { /** * The hash of the application's cover image diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 3a744a28b..43e923455 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1903,7 +1903,6 @@ export class IntegrationApplication extends Application { public termsOfServiceURL: string | null; public privacyPolicyURL: string | null; public rpcOrigins: string[]; - public hook: boolean | null; public cover: string | null; public verifyKey: string | null; }