fix(IntegrationApplication)!: remove hook (#10699)

BREAKING CHANGE: IntegrationApplication#hook has been removed.
This commit is contained in:
Ryan Munro
2025-01-13 07:51:58 +11:00
committed by GitHub
parent 24f395412c
commit f70ab41d56
2 changed files with 0 additions and 11 deletions

View File

@@ -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

View File

@@ -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;
}