docs: Backport version 13 fixes (#7552)

Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com>
This commit is contained in:
Jiralite
2022-03-02 09:31:28 +00:00
committed by GitHub
parent 5f621c1995
commit 69ba067a65
10 changed files with 14 additions and 14 deletions

View File

@@ -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) {