Browse Source

Update add_roles docstring to mention role order.

pull/6297/head
Perry Cate 4 years ago
committed by GitHub
parent
commit
bbbda4ec00
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      discord/member.py

6
discord/member.py

@ -643,7 +643,8 @@ class Member(discord.abc.Messageable, _BaseUser):
Gives the member a number of :class:`Role`\s.
You must have the :attr:`~Permissions.manage_roles` permission to
use this.
use this, and the added :class:`Role`\s must appear lower in the list
of roles than the highest role of the member.
Parameters
-----------
@ -681,7 +682,8 @@ class Member(discord.abc.Messageable, _BaseUser):
Removes :class:`Role`\s from this member.
You must have the :attr:`~Permissions.manage_roles` permission to
use this.
use this, and the removed :class:`Role`\s must appear lower in the list
of roles than the highest role of the member.
Parameters
-----------

Loading…
Cancel
Save