mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-08 04:38:42 +00:00
Clear up add_roles and remove_roles documentation
Using "member" here can mislead a reader into believing this restriction is referring to the member being edited rather than the client/bot that is executing the edit.
This commit is contained in:
parent
814ce3c8ee
commit
7db879b5bd
@ -1076,7 +1076,7 @@ class Member(discord.abc.Messageable, _UserTag):
|
|||||||
|
|
||||||
You must have :attr:`~Permissions.manage_roles` to
|
You must have :attr:`~Permissions.manage_roles` to
|
||||||
use this, and the added :class:`Role`\s must appear lower in the list
|
use this, and the added :class:`Role`\s must appear lower in the list
|
||||||
of roles than the highest role of the member.
|
of roles than the highest role of the client.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
@ -1115,7 +1115,7 @@ class Member(discord.abc.Messageable, _UserTag):
|
|||||||
|
|
||||||
You must have :attr:`~Permissions.manage_roles` to
|
You must have :attr:`~Permissions.manage_roles` to
|
||||||
use this, and the removed :class:`Role`\s must appear lower in the list
|
use this, and the removed :class:`Role`\s must appear lower in the list
|
||||||
of roles than the highest role of the member.
|
of roles than the highest role of the client.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user