how do i get all the roles of a member #6936
Unanswered
CunningBard
asked this question in
Q&A
Replies: 3 comments
-
You should check if the user has the Ban Members permission by adding a |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also to get the roles of a member simply use |
Beta Was this translation helpful? Give feedback.
0 replies
-
You should probably use @bot.command()
@commands.has_any_role("Owner", "Moderator", "Senior Moderator")
async def ban(ctx, member: discord.Member, *, reason=None):
... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i have tried to find some simillar code but i coudnt find any, essential its like this
Beta Was this translation helpful? Give feedback.
All reactions