Skip to content

Commit

Permalink
docs(Message): Specify Snowflake in return type of `awaitReactions(…
Browse files Browse the repository at this point in the history
…)` (#6822)
  • Loading branch information
Jiralite committed Oct 13, 2021
1 parent b541d0a commit 4354c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4354c37

Please sign in to comment.