Fix the mention example in the USERS_PATTERN doc comment

Previously it was a channel mention. Thanks @Hackzzila.
This commit is contained in:
meew0
2017-05-10 13:11:21 +02:00
committed by Crawl
parent bb0ee59718
commit ea1b5beea6

View File

@@ -124,7 +124,7 @@ class MessageMentions {
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}
*/
MessageMentions.USERS_PATTERN = /<@!?[0-9]+>/g;