mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
feat(Util): make cleanContent take a channel instead of a message (#5535)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user