diff --git a/typings/index.d.ts b/typings/index.d.ts index 528045d47..32d60eee4 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -555,7 +555,7 @@ declare module 'discord.js' { public httpStatus: number; } - export class DMChannel extends TextBasedChannel(Channel) { + export class DMChannel extends TextBasedChannel(Channel, ['bulkDelete']) { constructor(client: Client, data?: object); public messages: MessageManager; public recipient: User; @@ -1973,7 +1973,10 @@ declare module 'discord.js' { type Constructable = new (...args: any[]) => T; function PartialTextBasedChannel(Base?: Constructable): Constructable; - function TextBasedChannel(Base?: Constructable): Constructable; + function TextBasedChannel( + Base?: Constructable, + ignore?: I[], + ): Constructable>; interface PartialTextBasedChannelFields { lastMessageID: Snowflake | null;