docs(Message): Specify Snowflake in return type of awaitReactions() (#6822)

This commit is contained in:
Jiralite
2021-10-13 11:18:00 +01:00
committed by GitHub
parent b541d0a524
commit 4354c37762

View File

@@ -468,7 +468,7 @@ class Message extends Base {
* Similar to createReactionCollector but in promise form.
* Resolves with a collection of reactions that pass the specified filter.
* @param {AwaitReactionsOptions} [options={}] Optional options to pass to the internal collector
* @returns {Promise<Collection<string, MessageReaction>>}
* @returns {Promise<Collection<string | Snowflake, MessageReaction>>}
* @example
* // Create a reaction collector
* const filter = (reaction, user) => reaction.emoji.name === '👌' && user.id === 'someId'