# Command access rules

> Control which Based commands members can use and where: per-command channel and role rules, with setup and settings always available.

URL: https://www.jalkarna.in/based/docs/command-access/  
Last updated: 2026-11-16

Command access lets staff turn individual public commands on or off and limit them to certain channels or roles. Open `/settings` and choose the commands, channels and roles; the dashboard stores the result as rules. Empty rules allow all commands.

Two commands are always available so you can never lock yourself out: `/setup` and `/settings`.

## Common uses
- Allow `/imagine` only in an art channel.
- Limit music commands to a music text channel.
- Hide fun commands from a support channel.

Command access works alongside Discord's own Integrations settings (Server Settings > Integrations > Based), which can also restrict slash commands by role and channel. Based's rules apply to both slash and text commands.

## Settings
Change these in the [dashboard](https://www.jalkarna.in/based/dashboard/) or with `/setup` in Discord. They apply to one server at a time.

| Setting | Default | What it does |
|---|---|---|
| Enabled | On | Turn this feature on for this server. |
| Command rules (JSON) | Empty | Use /settings to choose commands, channels and roles. Empty rules allow all commands. |

## Permissions Based needs
This module needs no extra Discord permissions.
