Browse Source

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.
pull/10011/head
MajorTanya 5 months ago
committed by GitHub
parent
commit
7db879b5bd
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      discord/member.py

4
discord/member.py

@ -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
-----------

Loading…
Cancel
Save