Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a link censoring part #84

Open
wants to merge 1 commit into
base: live
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 40 additions & 1 deletion public/_documentation/Configuration/Censoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,43 @@ To remove it from the list again:
You can always get a list of currently censored words by using
```
!configure word_censor_list
```
```

### Link Censor

For censoring links there are 2 options

* Whitelist (Everything on the list is allowed)
* Blacklist (Everything on the list is blocked)

You can switch between options with the following commands

```
!configure domain_list mode allowed
```

Everything on the list is allowed

```
!configure domain_list mode blocked
```

Everything on the list is blocked

To add something to the to domain list:

```
!configure domain_list add <domain>
```

To remove it from the list again:

```
!configure domain_list remove <domain>
```

You can always get a list of currently allowed/blocked domains by using

```
!configure domain_list
```