Remove specified role via command #6513
Unanswered
freshefisch
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You can add a parameter and parse it as a role, like so; @bot.command
async def remove_testrole(ctx, testrole:discord.Role) This will accept both role ID's, names, and mentions. |
Beta Was this translation helpful? Give feedback.
2 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.
-
I would like to have a command that you can remove the role "testrole" with.
It should look something like this.
Can anyone help me how I should do this?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions