,roletoggle
Toggle roles on or off for someone.
How to use it
Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.
,roletoggle @member @Role1 @Role2
,roletoggle @User @Muted,roletoggle @User @Role1 @Role2Arguments
Square brackets are optional, angle brackets are required — the same legend ,help roletoggle prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
member | required | a member mention, id or username |
Role1 | required | a value for this command |
Role2 | required | a value for this command |
Before you run it
What the command itself checks before it does anything, read from the src/commands/customization/roletoggle.js source.
- Permissions
- Manage Roles
- Reads
- member, role mentions
- Replies with
- a plain message
- Cooldown
- 3s per member, per server
Every subcommand
Call the command with no argument inside Discord and the bot draws one page per subcommand, exactly like this.
| Subcommand | What it does |
|---|---|
,roletoggle <@member> <@role...> | Included in this command. |
In Discord
What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.
More customization commands
Commands that usually get used alongside ,roletoggle.
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.