From 2af8e073e4ebea09966caf4abd6f31836f9b9216 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 c6d65d840..9a641c73f 100644 --- a/discord/member.py +++ b/discord/member.py @@ -998,7 +998,7 @@ class Member(discord.abc.Messageable, discord.abc.Connectable, _UserTag): 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 ----------- @@ -1037,7 +1037,7 @@ class Member(discord.abc.Messageable, discord.abc.Connectable, _UserTag): 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 -----------