mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
docs(Util): Deprecate .removeMentions() (#6866)
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -2121,6 +2121,7 @@ export class Util extends null {
|
||||
public static basename(path: string, ext?: string): string;
|
||||
public static binaryToId(num: string): Snowflake;
|
||||
public static cleanContent(str: string, channel: TextBasedChannels): string;
|
||||
/** @deprecated Use {@link MessageOptions.allowedMentions} to control mentions in a message instead. */
|
||||
public static removeMentions(str: string): string;
|
||||
public static cloneObject(obj: unknown): unknown;
|
||||
public static delayFor(ms: number): Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user