# Chat Filter

{% hint style="warning" %}
Since earlydev-0.4.0
{% endhint %}

### Configuration

```yaml
replacement-text: "*"
convert-leet: false # Unusable
ignore-numbers: false # Replace all numbers before detection
ignore-symbols: false # Replace all symbols before detection
ignore-blanks: false  # Replace all blanks before detection
including-messaging-commands:
  vanilla: true  # /me /tell /msg /say

use-banned-words: false
banned-words:
  - "fuck"

use-regex: false
regex:
  - ""

```

**replacement-text** Replace the detected words

**convert-leet** Convert leet text as normal text, currently unavailable

**ignore-numbers** Ignore all numbers in detections

**ignore-symbols** Ignore all symbols in detections

**ignore-blanks** Ignore all blanks (including lines) in detections

**including-messaging-commands** Adding [messaging commands](#messaging-commands) to detections

**use-banned-words** Use word list to detect

**banned-words** The word list to use

**use-regex** Use regex to detect

**regex** The regex list to use, too much regex can result in high resource usage and even message sending delays

### Messaging Commands

**vanilla** me, tell, msg, say


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://afternode.gitbook.io/general/management/chat-filter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
