Chat moderation: how to set up automatic filters
Filter links, caps, spam, banned words and emotes, and choose warnings and punishments.
Automatic moderation for big and small channels
Twir moderation rules check every chat message and punish violators automatically: delete the message, warn the user, time them out or ban them. Moderators, VIPs and other roles can be excluded from any rule.
Filters cover links, banned words and phrases with regular expressions, caps, symbols, long messages, too many emotes, disallowed languages and repeated spam from one user. Each rule can warn first and punish only after several warnings, and a built-in tester shows which rule a message would trigger.
For raids and spam waves, the chat wall command deletes, times out or bans everyone who writes a given phrase for the next few minutes.
How to enable auto moderation
Make the bot a moderator
Log in to Twir, add the bot to your channel and give it moderator rights.
Create rules
Open Moderation in the dashboard and enable the filters you need.
Set punishments
Choose timeouts, warnings and excluded roles, and check messages with the tester.
Chat commands
| Command | What it does |
|---|---|
!permit <user> | Let a user post one link |
!chat wall delete <phrase> | Delete messages with the phrase for the next few minutes |
!chat wall timeout <phrase> | Time out everyone who sends the phrase |
!chat wall ban <phrase> | Ban everyone who sends the phrase |
!chat wall stop <phrase> | Stop the chat wall |
Features and settings
- Link filter
- Remove links from viewers who are not allowed to post them, and permit a user once with !permit.
- Banned words with regex
- Block words and phrases, with word boundaries, case sensitivity and regular expressions.
- Caps, symbols and length
- Limit the share of capital letters and symbols and the maximum message length.
- Spam and emotes
- Catch repeated messages from one user and messages with too many emotes.
- Language filter
- Allow or disallow messages in specific languages.
- Warnings before punishment
- Warn first, then time out or ban, and exclude moderators, VIPs or any custom role.
Frequently asked questions
Related guides
- Chat commandsCustom commands with variables, aliases, cooldowns, permissions and counters, plus dozens of built-in ones.
- TimersAutomatic chat messages on a schedule by time and chat activity.
- Chat overlay for OBSShow your Twitch chat on stream with 7TV, BTTV and FFZ emotes, custom fonts and animations.
- Chat gamesDuels, Russian roulette, voteban, seppuku and magic 8-ball for your chat.
Ready to try it on your channel?
Twir is free. Log in with Twitch, Kick, VK Video Live or YouTube and the bot joins your chat in under a minute.