Skip to content

Commit

Permalink
docs(RoleManager): fix incorrect example
Browse files Browse the repository at this point in the history
  • Loading branch information
ceilingfans committed Dec 31, 2021
1 parent 780b7ed commit b0f61aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/RoleManager.js
Expand Up @@ -227,7 +227,7 @@ class RoleManager extends CachedManager {
* @example
* // Delete a role
* guild.roles.delete('222079219327434752', 'The role needed to go')
* .then(deleted => console.log(`Deleted role ${deleted.name}`))
* .then(() => console.log('Deleted the role'))
* .catch(console.error);
*/
async delete(role, reason) {
Expand Down

0 comments on commit b0f61aa

Please sign in to comment.