Skip to content

Commit

Permalink
Clear up add_roles and remove_roles documentation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MajorTanya authored Nov 9, 2024
1 parent 814ce3c commit 7db879b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord/member.py
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ async def add_roles(self, *roles: Snowflake, reason: Optional[str] = None, atomi
You must have :attr:`~Permissions.manage_roles` to
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
-----------
Expand Down Expand Up @@ -1115,7 +1115,7 @@ async def remove_roles(self, *roles: Snowflake, reason: Optional[str] = None, at
You must have :attr:`~Permissions.manage_roles` to
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
-----------
Expand Down

0 comments on commit 7db879b

Please sign in to comment.