Word filters
Delete messages with stop words or keep only messages with a required word using ChatZilla's word filters, with several match modes.
The Content Filter section of the mini app holds one list of words. Each word has a type; tap its icon to switch between them.
- Stop word: a message that contains it is deleted.
- Required word: a message stays only if it contains at least one of the required words. Everything else is deleted.
Stop words are the usual tool against swearing, scam phrases and competitors' names. Required words suit groups with a strict format, for example a marketplace where every post must carry a hashtag like #sell or #buy.
How words are matched
By default the bot looks for the word anywhere in the message, so spam also catches spammer. Switch a word to Separate word to catch it only when it stands alone, surrounded by spaces or punctuation. Two more modes are available: Exact, which still finds the word anywhere in the message but only in the same upper and lower case as you typed it, and Regular expression for patterns. The editor has a tester to try a word on sample text. Stop words and required words are also looked for in the captions of buttons under forwarded posts.
What the member sees
The message is deleted and the bot sends the author a short private notice: for a stop word it shows which word matched, for required words it says the message had none of them. You can rewrite both notices in Bot messages. Each deletion counts toward anti-spam and appears in the event log with the matched word.
Group administrators are not filtered, so an admin can post a message without the required word, for example the group rules.