mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +00:00
docs(MessageMentions): backport mention order notice (#3712)
This commit is contained in:
parent
c5d2b96524
commit
d8419ac2c7
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ class MessageMentions {
|
||||||
if (users instanceof Collection) {
|
if (users instanceof Collection) {
|
||||||
/**
|
/**
|
||||||
* Any users that were mentioned
|
* 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>}
|
* @type {Collection<Snowflake, User>}
|
||||||
*/
|
*/
|
||||||
this.users = new Collection(users);
|
this.users = new Collection(users);
|
||||||
|
|
@ -37,6 +38,7 @@ class MessageMentions {
|
||||||
if (roles instanceof Collection) {
|
if (roles instanceof Collection) {
|
||||||
/**
|
/**
|
||||||
* Any roles that were mentioned
|
* Any roles that were mentioned
|
||||||
|
* <info>Order as received from the API, not as they appear in the message content</
|
||||||
* @type {Collection<Snowflake, Role>}
|
* @type {Collection<Snowflake, Role>}
|
||||||
*/
|
*/
|
||||||
this.roles = new Collection(roles);
|
this.roles = new Collection(roles);
|
||||||
|
|
@ -89,6 +91,7 @@ class MessageMentions {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Any members that were mentioned (only in {@link TextChannel}s)
|
* 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>}
|
* @type {?Collection<Snowflake, GuildMember>}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
|
@ -105,6 +108,7 @@ class MessageMentions {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Any channels that were mentioned
|
* Any channels that were mentioned
|
||||||
|
* <info>Order as they appear first in the message content</info>
|
||||||
* @type {Collection<Snowflake, GuildChannel>}
|
* @type {Collection<Snowflake, GuildChannel>}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue