From 7db879b5bd7008a28613cf107f434a18b8ea7303 Mon Sep 17 00:00:00 2001 From: MajorTanya <39014446+MajorTanya@users.noreply.github.com> Date: Sat, 9 Nov 2024 12:20:01 +0100 Subject: [PATCH] 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. --- discord/member.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/member.py b/discord/member.py index 66c7715721d9..388e854835e5 100644 --- a/discord/member.py +++ b/discord/member.py @@ -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 ----------- @@ -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 -----------