> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bleed.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Command Access

> Disable commands, restrict them to roles, or make bleed ignore members and channels.

## Disabling commands

You can turn a command off in a channel, for a member, or everywhere.

> [!NOTE]
>
> Set `setting` to `Off` to disable the command, or `On` to enable it again.

```javascript Syntax theme={null}
/access command set command:<command> setting:<On|Off> channel:<channel> member:<member>
/access command all command:<command> setting:<On|Off>
/access command list
```

```javascript Example theme={null}
/access command set command:ban setting:Off channel:#general
/access command all command:snipe setting:Off
```

## Disabling modules

A module is a group of commands, such as **music** or **fun**. Disabling a module turns off every command in it.

```javascript Syntax theme={null}
/access module set module:<module> setting:<On|Off> channel:<channel>
/access module all module:<module> setting:<On|Off>
/access module list
```

```javascript Example theme={null}
/access module all module:fun setting:Off
```

> [!TIP]
>
> You can also turn bleed's automatic features on or off with [events](https://docs.bleed.bot/resources/events.md).

## Restricting commands to a role

You can give a role exclusive access to a command, so only members with that role can use it. You can have up to **1,000** restrictions.

```javascript Syntax theme={null}
/access restrict add command:<command> role:<role>
/access restrict remove command:<command> role:<role>
/access restrict menu
```

```javascript Example theme={null}
/access restrict add command:ban role:@Moderator
```

![](https://mintcdn.com/bleed/qYudJMBpnNml8aZu/images/configuration/command-access/restrict.png?fit=max\&auto=format\&n=qYudJMBpnNml8aZu\&q=85\&s=e76b9dd45962a0ea6d9d424adf6d5edd)

## Copying channel settings

You can copy a channel's disabled modules, events, filters and commands to another channel using the `/access copy` command.

```javascript Syntax theme={null}
/access copy old_channel:<channel> new_channel:<channel>
```

```javascript Example theme={null}
/access copy old_channel:#general new_channel:#general-2
```

## Ignoring members and channels

bleed ignores commands from ignored members and in ignored channels. You can have up to **250** ignored entries.

These commands require the **Administrator** permission.

```javascript Syntax theme={null}
/ignore add member:<member> | channel:<channel>
/ignore remove member:<member> | channel:<channel>
/ignore menu
```

```javascript Example theme={null}
/ignore add channel:#counting
/ignore add member:@jonathan
```

![](https://mintcdn.com/bleed/qYudJMBpnNml8aZu/images/configuration/command-access/ignore.png?fit=max\&auto=format\&n=qYudJMBpnNml8aZu\&q=85\&s=48b7358d67da1baa0e153adb2da80512)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.