Protection
Blacklist
Delete messages that contain forbidden words or phrases, and choose to warn, mute, kick or ban the sender.
The blacklist is a list of words that are not allowed. When a normal member writes one, the bot deletes the message and can punish them.
Admins and trusted users are exempt.
Add and remove words
Admin
/addblacklist spam scam "free money"
Lisa
Blacklisted (3): spam, scam, free money
- Separate words with spaces.
- Put quotes around a phrase of several words:
"free money". - Each word or phrase can have up to 64 characters. A group can have up to 200.
| Command | What it does |
|---|---|
/addblacklist <words> | Adds words |
/unblacklist <words> | Removes words |
/blacklist | Shows the list (admins only) |
You need the Change group info right.
Choose the punishment
/blacklistmode shows the current mode. Change it with:
| Mode | What happens to someone who uses a forbidden word |
|---|---|
delete | Only the message is deleted (default) |
warn | Deleted, and the person gets a warning |
mute | Deleted, and the person is muted |
kick | Deleted, and the person is removed |
ban | Deleted, and the person is banned |
Example: /blacklistmode warn.
Edited messages are checked too. For mute, the time set with /setwarnmode is used.