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

# Word Filter

## Enable / Disable Command

```txt theme={null}
/word-filter <enable/disable>
```

### Description

Enables / Disables the message filter.

### Permission

`ADMINISTRATOR`

### Arguments

| Name | Type | Description | Sample Data |
| - | - | - | - |
| | | | None |

***

## Options Command

```txt theme={null}
/word-filter options [block-scam-domains] [ignore-admins] [ignore-bots] [action]
```

### Description

Shows or manages the message filter options. Without arguments, the current options are shown.

The keyword rule and image scanning of the auto moderation are set up on the Auto Moderation page of the dashboard.

### Permission

`ADMINISTRATOR`

### Arguments

| Name | Type | Description | Sample Data |
| - | - | - | - |
| block-scam-domains | Boolean | Automatically block known scam and phishing domains | True |
| ignore-admins | Boolean | Don't apply the word filter to server administrators | True |
| ignore-bots | Boolean | Don't apply the word filter to bot messages | True |
| action | String | What happens to a message with a denied word or a scam domain: `Replace with a censored copy`, `Delete` or `Only report to the Auto Moderation Actions log` | Delete |

***

## Blacklist / Whitelist Command

```txt theme={null}
/word-filter blacklist list
/word-filter blacklist <add/remove> <word>
/word-filter whitelist list
/word-filter whitelist <add/remove> <word>
```

### Description

Manages the list of denied words (`blacklist`) and the list of allowed words (`whitelist`).

### Permission

`ADMINISTRATOR`

### Arguments

| Name | Type | Description | Sample Data |
| - | - | - | - |
| word\* | String | The word or phrase to add or remove | badword |

`*: This is only available on the 'add' and 'remove' subcommands.`

***

## Ignored Roles Command

```txt theme={null}
/word-filter ignored-roles list
/word-filter ignored-roles <add/remove> <role>
```

### Description

Manages the roles that bypass the word filter.

### Permission

`ADMINISTRATOR`

### Arguments

| Name | Type | Description | Sample Data |
| - | - | - | - |
| role\* | Role | The role to add to or remove from the ignore list | @Moderator |

`*: This is only available on the 'add' and 'remove' subcommands.`


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