mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
Fix the mention example in the USERS_PATTERN doc comment
Previously it was a channel mention. Thanks @Hackzzila.
This commit is contained in:
@@ -124,7 +124,7 @@ class MessageMentions {
|
|||||||
MessageMentions.EVERYONE_PATTERN = /@(everyone|here)/g;
|
MessageMentions.EVERYONE_PATTERN = /@(everyone|here)/g;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Regular expression that globally matches user mentions like `<#81440962496172032>`
|
* Regular expression that globally matches user mentions like `<@81440962496172032>`
|
||||||
* @type {RegExp}
|
* @type {RegExp}
|
||||||
*/
|
*/
|
||||||
MessageMentions.USERS_PATTERN = /<@!?[0-9]+>/g;
|
MessageMentions.USERS_PATTERN = /<@!?[0-9]+>/g;
|
||||||
|
|||||||
Reference in New Issue
Block a user