mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Various documentation adjustments (#2001)
* docs(various): Add "at" to createdAt description * docs(Client): Adjust to fit with guilds property * docs(various): Adjust phrasing & fix typos * docs(various): Clarifications * docs(Permissions): fix numerus * docs(DataStore): capitalize DataStore * docs(various): Formatting changes * docs(Presence): Expand RichPresenceAssets docs * Add space
This commit is contained in:
@@ -23,13 +23,13 @@ class ReactionCollector extends Collector {
|
||||
super(message.client, filter, options);
|
||||
|
||||
/**
|
||||
* The message
|
||||
* The message upon which to collect reactions
|
||||
* @type {Message}
|
||||
*/
|
||||
this.message = message;
|
||||
|
||||
/**
|
||||
* The users which have reacted
|
||||
* The users which have reacted to this message
|
||||
* @type {Collection}
|
||||
*/
|
||||
this.users = new Collection();
|
||||
@@ -64,7 +64,7 @@ class ReactionCollector extends Collector {
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle an incoming reaction for possible collection.
|
||||
* Handles an incoming reaction for possible collection.
|
||||
* @param {MessageReaction} reaction The reaction to possibly collect
|
||||
* @returns {?{key: Snowflake, value: MessageReaction}}
|
||||
* @private
|
||||
@@ -78,7 +78,7 @@ class ReactionCollector extends Collector {
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle a reaction deletion for possible disposal.
|
||||
* Handles a reaction deletion for possible disposal.
|
||||
* @param {MessageReaction} reaction The reaction to possibly dispose
|
||||
* @returns {?Snowflake|string}
|
||||
*/
|
||||
@@ -87,7 +87,7 @@ class ReactionCollector extends Collector {
|
||||
}
|
||||
|
||||
/**
|
||||
* Empty this reaction collector.
|
||||
* Empties this reaction collector.
|
||||
*/
|
||||
empty() {
|
||||
this.total = 0;
|
||||
@@ -104,7 +104,7 @@ class ReactionCollector extends Collector {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the collector key for a reaction.
|
||||
* Gets the collector key for a reaction.
|
||||
* @param {MessageReaction} reaction The message reaction to get the key for
|
||||
* @returns {Snowflake|string}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user