feat(Util): make cleanContent take a channel instead of a message (#5535)

This commit is contained in:
Advaith
2021-04-18 09:53:09 -07:00
committed by GitHub
parent 596832371c
commit f1c0c043b5
3 changed files with 12 additions and 12 deletions

2
typings/index.d.ts vendored
View File

@@ -1604,7 +1604,7 @@ declare module 'discord.js' {
export class Util {
public static basename(path: string, ext?: string): string;
public static binaryToID(num: string): Snowflake;
public static cleanContent(str: string, message: Message): string;
public static cleanContent(str: string, channel: Channel): string;
public static removeMentions(str: string): string;
public static cloneObject(obj: object): object;
public static delayFor(ms: number): Promise<void>;