Skip to content

Commit

Permalink
docs(MessageMentions): backport mention order notice (#3712)
Browse files Browse the repository at this point in the history
  • Loading branch information
almostSouji authored and SpaceEEC committed Jan 19, 2020
1 parent c5d2b96 commit d8419ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/structures/MessageMentions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class MessageMentions {
if (users instanceof Collection) {
/**
* Any users that were mentioned
* <info>Order as received from the API, not as they appear in the message content</info>
* @type {Collection<Snowflake, User>}
*/
this.users = new Collection(users);
Expand All @@ -37,6 +38,7 @@ class MessageMentions {
if (roles instanceof Collection) {
/**
* Any roles that were mentioned
* <info>Order as received from the API, not as they appear in the message content</
* @type {Collection<Snowflake, Role>}
*/
this.roles = new Collection(roles);
Expand Down Expand Up @@ -89,6 +91,7 @@ class MessageMentions {

/**
* Any members that were mentioned (only in {@link TextChannel}s)
* <info>Order as received from the API, not as they appear in the message content</
* @type {?Collection<Snowflake, GuildMember>}
* @readonly
*/
Expand All @@ -105,6 +108,7 @@ class MessageMentions {

/**
* Any channels that were mentioned
* <info>Order as they appear first in the message content</info>
* @type {Collection<Snowflake, GuildChannel>}
* @readonly
*/
Expand Down

0 comments on commit d8419ac

Please sign in to comment.