mirror of
https://github.com/danbulant/discord.js
synced 2026-07-13 07:00:44 +00:00
Fix the mention example in the USERS_PATTERN doc comment
Previously it was a channel mention. Thanks @Hackzzila.
This commit is contained in:
parent
bb0ee59718
commit
ea1b5beea6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue