mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
refactor(IntegrationApplication): remove summary (#7729)
This commit is contained in:
@@ -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
|
||||
|
||||
1
packages/discord.js/typings/index.d.ts
vendored
1
packages/discord.js/typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user