aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerry Cate <[email protected]>2021-01-14 03:11:58 -0500
committerGitHub <[email protected]>2021-01-14 03:11:58 -0500
commitbbbda4ec0072ae225b8feaba3c2ad65ac6f5490c (patch)
treea8267ac260beea2dd4bcd493692b107e4c5e9319
parent[matrix] Add scroll to top button (diff)
downloaddiscord.py-bbbda4ec0072ae225b8feaba3c2ad65ac6f5490c.tar.xz
discord.py-bbbda4ec0072ae225b8feaba3c2ad65ac6f5490c.zip
Update add_roles docstring to mention role order.
-rw-r--r--discord/member.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/discord/member.py b/discord/member.py
index 1e471777..afce4c34 100644
--- a/discord/member.py
+++ b/discord/member.py
@@ -643,7 +643,8 @@ class Member(discord.abc.Messageable, _BaseUser):
Gives the member a number of :class:`Role`\s.
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
-----------
@@ -681,7 +682,8 @@ class Member(discord.abc.Messageable, _BaseUser):
Removes :class:`Role`\s from this member.
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
-----------