mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
fix: Remove deprecation warning on Message#cleanContent (#7143)
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -2416,6 +2416,7 @@ export class Util extends null {
|
||||
public static cleanContent(str: string, channel: TextBasedChannel): string;
|
||||
/** @deprecated Use {@link MessageOptions.allowedMentions} to control mentions in a message instead. */
|
||||
public static removeMentions(str: string): string;
|
||||
private static _removeMentions(str: string): string;
|
||||
public static cloneObject(obj: unknown): unknown;
|
||||
public static discordSort<K, V extends { rawPosition: number; id: Snowflake }>(
|
||||
collection: Collection<K, V>,
|
||||
|
||||
Reference in New Issue
Block a user