From d8419ac2c72d1d78d1c869df23fd29e6aa60b472 Mon Sep 17 00:00:00 2001 From: Souji Date: Sun, 19 Jan 2020 13:09:33 +0100 Subject: [PATCH] docs(MessageMentions): backport mention order notice (#3712) --- src/structures/MessageMentions.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/structures/MessageMentions.js b/src/structures/MessageMentions.js index 7ba33820e..8c80906e8 100644 --- a/src/structures/MessageMentions.js +++ b/src/structures/MessageMentions.js @@ -15,6 +15,7 @@ class MessageMentions { if (users instanceof Collection) { /** * Any users that were mentioned + * Order as received from the API, not as they appear in the message content * @type {Collection} */ this.users = new Collection(users); @@ -37,6 +38,7 @@ class MessageMentions { if (roles instanceof Collection) { /** * Any roles that were mentioned + * Order as received from the API, not as they appear in the message content} */ this.roles = new Collection(roles); @@ -89,6 +91,7 @@ class MessageMentions { /** * Any members that were mentioned (only in {@link TextChannel}s) + * Order as received from the API, not as they appear in the message content} * @readonly */ @@ -105,6 +108,7 @@ class MessageMentions { /** * Any channels that were mentioned + * Order as they appear first in the message content * @type {Collection} * @readonly */