From ea1b5beea6c6553117b74b2b4eeaf0a215923140 Mon Sep 17 00:00:00 2001 From: meew0 Date: Wed, 10 May 2017 13:11:21 +0200 Subject: [PATCH] Fix the mention example in the USERS_PATTERN doc comment Previously it was a channel mention. Thanks @Hackzzila. --- src/structures/MessageMentions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/MessageMentions.js b/src/structures/MessageMentions.js index b045d5a70..0e8f6de83 100644 --- a/src/structures/MessageMentions.js +++ b/src/structures/MessageMentions.js @@ -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;