Open your group in the dashboard, go to the Rules tab, click Add rule, pick a rule type (blacklist, rate limit, content or link filter), enter the words or limits, choose an action, and save. Your rule starts working within a couple of minutes.
Want to set this up? Do it right in your Telm account.
Open in your dashboard1What a custom rule does
A custom rule is your own moderation instruction that runs alongside the built-in spam protection. You describe a condition (for example, a list of forbidden words) and the action the bot takes whenever a message matches it.
Rules are checked on every message. When one matches, it can delete the message, warn, mute, kick or ban the sender automatically, so your group polices itself while you get on with your day.
- Runs automatically on every new message, with no manual work.
- Layers on top of the built-in anti-spam protection instead of replacing it.
- Each rule can be switched on or off without deleting it.
2Where to find the Rules tab
All of your custom rules live in one place inside your group settings.
Open the dashboard, select the group you want to protect, and open the Rules tab in that group's menu. You will see your existing rules and an Add rule button in the top-right corner.
3Choosing a rule type
When you click Add rule, you first pick what the rule reacts to. There are four types.
- Blacklist words: blocks messages that contain any word or phrase from a list you enter, separated by commas.
- Rate limit: catches users who send too many messages, you set the maximum messages and the time window in seconds.
- Content filter: acts on the message content itself, handy for broad content restrictions.
- Link filter: reacts to messages that contain links. For a full allowed-domains setup see the domain whitelist tutorial.
4Action and priority
Next, choose what the bot does on a match: warn, delete, mute, kick or ban. Delete removes the message, mute silences the sender for a while, kick removes them but lets them rejoin, ban blocks them for good.
Priority (1 to 100, default 50) decides the order when several rules could match the same message. Higher priority runs first, and the first matching rule with an action decides the outcome. Give your strictest rules a higher priority.
5How many rules you can create
The number of custom rules you can add depends on your plan. If you reach the limit, switch off an old rule or move up a plan to add more.