mirror of
https://github.com/danbulant/discord.js
synced 2026-07-13 15:11:02 +00:00
docs(MessageMentions): channels are actually in order (#3705)
* docs(MessageMentions): channels are actually in order * docs(MessageMentions): readd info about order for channels * docs(MessageMentions): reword info to account for rtl locales
This commit is contained in:
parent
f501d06c0d
commit
6302afb84b
1 changed files with 5 additions and 5 deletions
|
|
@ -42,7 +42,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 left to right by occurence in the message content</info>
|
* <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);
|
||||||
|
|
@ -64,7 +64,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 left to right by occurence in the message content</info>
|
* <info>Order as received from the API, not as they appear in the message content</info>
|
||||||
* @type {Collection<Snowflake, Role>}
|
* @type {Collection<Snowflake, Role>}
|
||||||
*/
|
*/
|
||||||
this.roles = new Collection(roles);
|
this.roles = new Collection(roles);
|
||||||
|
|
@ -106,7 +106,7 @@ class MessageMentions {
|
||||||
if (crosspostedChannels instanceof Collection) {
|
if (crosspostedChannels instanceof Collection) {
|
||||||
/**
|
/**
|
||||||
* A collection of crossposted channels
|
* A collection of crossposted channels
|
||||||
* <info>Order as received from the API, not left to right by occurence in the message content</info>
|
* <info>Order as received from the API, not as they appear in the message content</info>
|
||||||
* @type {Collection<Snowflake, CrosspostedChannel>}
|
* @type {Collection<Snowflake, CrosspostedChannel>}
|
||||||
*/
|
*/
|
||||||
this.crosspostedChannels = new Collection(crosspostedChannels);
|
this.crosspostedChannels = new Collection(crosspostedChannels);
|
||||||
|
|
@ -130,7 +130,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 left to right by occurence in the message content</info>
|
* <info>Order as received from the API, not as they appear in the message content</info>
|
||||||
* @type {?Collection<Snowflake, GuildMember>}
|
* @type {?Collection<Snowflake, GuildMember>}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
|
@ -147,7 +147,7 @@ class MessageMentions {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Any channels that were mentioned
|
* Any channels that were mentioned
|
||||||
* <info>Order as received from the API, not left to right by occurence in the message content</info>
|
* <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