Skip to content

It is not possible to member.remove_roles(member.roles) without removing the @everyone role from member.roles first #5937

Answered by Rapptz
IamMusavaRibica asked this question in Q&A
Discussion options

You must be logged in to vote

In order to remove roles you should probably use await member.edit(roles=[]). remove_roles is a higher level function with atomicity but if you're clearing roles you should use the former.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@MasterCoder343
Comment options

@ghost
Comment options

@Vertoxen
Comment options

@NimVrod
Comment options

@cheemzboi
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #5937 on October 16, 2020 08:50.