Fix permissions-based docstrings to be more consistent

This commit is contained in:
Steve C
2022-09-17 14:07:39 -04:00
committed by GitHub
parent a53b609e37
commit ce06beeb6c
19 changed files with 104 additions and 155 deletions

View File

@ -394,8 +394,7 @@ class Role(Hashable):
Edits the role.
You must have the :attr:`~Permissions.manage_roles` permission to
use this.
You must have :attr:`~Permissions.manage_roles` to do this.
All fields are optional.
@ -492,8 +491,7 @@ class Role(Hashable):
Deletes the role.
You must have the :attr:`~Permissions.manage_roles` permission to
use this.
You must have :attr:`~Permissions.manage_roles` to do this.
Parameters
-----------