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.
This commit is contained in:
MajorTanya 2024-11-09 12:20:01 +01:00 committed by GitHub
parent 814ce3c8ee
commit 7db879b5bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1076,7 +1076,7 @@ class Member(discord.abc.Messageable, _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
-----------
@ -1115,7 +1115,7 @@ class Member(discord.abc.Messageable, _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
-----------