mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
refactor(*): make typedefs for all options params (#5785)
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com> Co-authored-by: Antonio Román <kyradiscord@gmail.com> Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
This commit is contained in:
@@ -82,7 +82,7 @@ class ReactionCollector extends Collector {
|
||||
* Handles an incoming reaction for possible collection.
|
||||
* @param {MessageReaction} reaction The reaction to possibly collect
|
||||
* @param {User} user The user that added the reaction
|
||||
* @returns {?Snowflake|string}
|
||||
* @returns {?(Snowflake|string)}
|
||||
* @private
|
||||
*/
|
||||
collect(reaction, user) {
|
||||
@@ -113,7 +113,7 @@ class ReactionCollector extends Collector {
|
||||
* Handles a reaction deletion for possible disposal.
|
||||
* @param {MessageReaction} reaction The reaction to possibly dispose of
|
||||
* @param {User} user The user that removed the reaction
|
||||
* @returns {?Snowflake|string}
|
||||
* @returns {?(Snowflake|string)}
|
||||
*/
|
||||
dispose(reaction, user) {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user