Skip to content

Commit 7db879b

Browse files
authored
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.
1 parent 814ce3c commit 7db879b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/member.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ async def add_roles(self, *roles: Snowflake, reason: Optional[str] = None, atomi
10761076
10771077
You must have :attr:`~Permissions.manage_roles` to
10781078
use this, and the added :class:`Role`\s must appear lower in the list
1079-
of roles than the highest role of the member.
1079+
of roles than the highest role of the client.
10801080
10811081
Parameters
10821082
-----------
@@ -1115,7 +1115,7 @@ async def remove_roles(self, *roles: Snowflake, reason: Optional[str] = None, at
11151115
11161116
You must have :attr:`~Permissions.manage_roles` to
11171117
use this, and the removed :class:`Role`\s must appear lower in the list
1118-
of roles than the highest role of the member.
1118+
of roles than the highest role of the client.
11191119
11201120
Parameters
11211121
-----------

0 commit comments

Comments
 (0)