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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
discord/member.py
@ -1076,7 +1076,7 @@ class Member(discord.abc.Messageable, _UserTag):
You must have : attr : ` ~ Permissions . manage_roles ` to
You must have : attr : ` ~ Permissions . manage_roles ` to
use this , and the added : class : ` Role ` \s must appear lower in the list
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
Parameters
- - - - - - - - - - -
- - - - - - - - - - -
@ -1115,7 +1115,7 @@ class Member(discord.abc.Messageable, _UserTag):
You must have : attr : ` ~ Permissions . manage_roles ` to
You must have : attr : ` ~ Permissions . manage_roles ` to
use this , and the removed : class : ` Role ` \s must appear lower in the list
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
Parameters
- - - - - - - - - - -
- - - - - - - - - - -