bleh
Add to Discord
HomeFeaturesCommandsServersDocsConfigStatus Add to Discord
Server command

,restrict

Restrict commands to specific roles.

owner only
Category
12 commands in it
Cooldown
3s
per member, per server
Aliases
2
resc, restrictcmd
Subcommands
4
each with its own page

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.

Syntax ,restrict <role>
Examples
,restrict add ban @Moderator,restrict list,restrict remove ban @Moderator

Arguments

Square brackets are optional, angle brackets are required — the same legend ,help restrict prints in Discord.

ParameterKindWhat it takes
rolerequireda role mention, name or id

Before you run it

What the command itself checks before it does anything, read from the src/commands/server/restrict.js source.

Permissions
Manage Server
Reads
role mentions
Replies with
a plain message, paginated when it runs long
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.

SubcommandWhat it does
,restrict add
<command> <@role>
only let one role use a command
,restrict remove
<command> [<@role>]
drop a command's restriction
,restrict listevery restricted command here
,restrict clearremove every restriction here

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.

M Memberjust now ,restrict add ban @Moderator
B blehAppjust now Restrict commands to specific roles. 4 subcommands to pick from.

Ready to put bleh in your server?

Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.