Skip to content

Commit

Permalink
docs(ReactionUserManager): fetch description (#5382)
Browse files Browse the repository at this point in the history
The description currently says that fetching returns all users on the reaction.  This is incorrect, as there is an API limit of 100 users per fetch.  This PR changes the description to better match the actual behavior.
  • Loading branch information
anandre authored Mar 29, 2021
1 parent 8a7abc9 commit 8e8d9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/ReactionUserManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ReactionUserManager extends BaseManager {
*/

/**
* Fetches all the users that gave this reaction. Resolves with a collection of users, mapped by their IDs.
* Fetches the users that gave this reaction. Resolves with a collection of users, mapped by their IDs.
* @param {Object} [options] Options for fetching the users
* @param {number} [options.limit=100] The maximum amount of users to fetch, defaults to 100
* @param {Snowflake} [options.before] Limit fetching users to those with an id lower than the supplied id
Expand Down

0 comments on commit 8e8d9b4

Please sign in to comment.