mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
chore(Integration): Cleanup removed methods (#6220)
This commit is contained in:
13
typings/index.d.ts
vendored
13
typings/index.d.ts
vendored
@@ -576,7 +576,6 @@ export class Guild extends AnonymousGuild {
|
||||
public widgetChannelId: Snowflake | null;
|
||||
public widgetEnabled: boolean | null;
|
||||
public addMember(user: UserResolvable, options: AddGuildMemberOptions): Promise<GuildMember>;
|
||||
public createIntegration(data: IntegrationData, reason?: string): Promise<Guild>;
|
||||
public createTemplate(name: string, description?: string): Promise<GuildTemplate>;
|
||||
public delete(): Promise<Guild>;
|
||||
public discoverySplashURL(options?: StaticImageURLOptions): string | null;
|
||||
@@ -849,8 +848,6 @@ export class Integration extends Base {
|
||||
public type: string;
|
||||
public user: User | null;
|
||||
public delete(reason?: string): Promise<Integration>;
|
||||
public edit(data: IntegrationEditData, reason?: string): Promise<Integration>;
|
||||
public sync(): Promise<Integration>;
|
||||
}
|
||||
|
||||
export class IntegrationApplication extends Application {
|
||||
@@ -3671,16 +3668,6 @@ export interface ImageURLOptions extends StaticImageURLOptions {
|
||||
dynamic?: boolean;
|
||||
}
|
||||
|
||||
export interface IntegrationData {
|
||||
id: Snowflake;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface IntegrationEditData {
|
||||
expireBehavior?: number;
|
||||
expireGracePeriod?: number;
|
||||
}
|
||||
|
||||
export interface IntegrationAccount {
|
||||
id: string | Snowflake;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user