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/10109/head
MajorTanya 6 months ago
committed by dolfies
parent
commit
2af8e073e4
  1. 4
      discord/member.py

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

Loading…
Cancel
Save