Skip to content

Commit

Permalink
docs(RoleManager): error in examples (#6416)
Browse files Browse the repository at this point in the history
  • Loading branch information
GmBodhi committed Aug 14, 2021
1 parent 615afab commit 759faa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/RoleManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class RoleManager extends CachedManager {
* @example
* // Fetch all roles from the guild
* message.guild.roles.fetch()
* .then(roles => console.log(`There are ${roles.cache.size} roles.`))
* .then(roles => console.log(`There are ${roles.size} roles.`))
* .catch(console.error);
* @example
* // Fetch a single role
Expand Down

0 comments on commit 759faa4

Please sign in to comment.