- Documentation
- Commands
Enabling and restricting commands
Switch a command off, or reserve it for certain roles.
From Configuration → Commands, each command can be:
- enabled or disabled on this server;
- restricted to certain roles.
Two filters that stack
This is the important point, and it is often misunderstood:
- The command's native Discord permissions always apply.
/banrequires "Ban Members",/clearrequires "Manage Messages". Bao cannot bypass them. - Bao's allowed roles list is an additional filter.
An empty role list therefore does not mean the command is open to everyone: it means Bao adds no restriction on top of Discord's.
Use cases
- Reserve
/giveawayfor your events team. - Switch off
/rankand/leaderboardif you do not use levels. - Restrict
/scheduleto the people in charge of communications.
Scope
These settings belong to this server. The same bot can have different commands on two servers.