mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Update add_roles docstring to mention role order.
This commit is contained in:
parent
f78f135505
commit
bbbda4ec00
@ -643,7 +643,8 @@ class Member(discord.abc.Messageable, _BaseUser):
|
|||||||
Gives the member a number of :class:`Role`\s.
|
Gives the member a number of :class:`Role`\s.
|
||||||
|
|
||||||
You must have the :attr:`~Permissions.manage_roles` permission to
|
You must have the :attr:`~Permissions.manage_roles` permission to
|
||||||
use this.
|
use this, and the added :class:`Role`\s must appear lower in the list
|
||||||
|
of roles than the highest role of the member.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
@ -681,7 +682,8 @@ class Member(discord.abc.Messageable, _BaseUser):
|
|||||||
Removes :class:`Role`\s from this member.
|
Removes :class:`Role`\s from this member.
|
||||||
|
|
||||||
You must have the :attr:`~Permissions.manage_roles` permission to
|
You must have the :attr:`~Permissions.manage_roles` permission to
|
||||||
use this.
|
use this, and the removed :class:`Role`\s must appear lower in the list
|
||||||
|
of roles than the highest role of the member.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user