mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Fix permissions-based docstrings to be more consistent
This commit is contained in:
@ -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
|
||||
-----------
|
||||
|
Reference in New Issue
Block a user