Fix permissions-based docstrings to be more consistent

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

No files matched your search

+2 -4
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
-----------