Skip to content

Commit

Permalink
Add deleteMessages to TextChannel type declaration (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC authored and abalabahaha committed Aug 12, 2019
1 parent 31a98c0 commit 3372745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,7 @@ declare module "eris" {
limit: number, filter?: (message: Message) => boolean, before?: string, after?: string
): Promise<number>;
public deleteMessage(messageID: string, reason?: string): Promise<void>;
public deleteMessages(messageIDs: string[]): Promise<void>;
public unsendMessage(messageID: string): Promise<void>;
}

Expand Down

0 comments on commit 3372745

Please sign in to comment.