Chat Moderation
Configure automatic chat protection against spam and scams, build custom filters for caps, links, emotes, and blocked words, and set up escalating penalties.
Chat Moderation helps keep spam, scams, and disruptive messages out of your Twitch chat using two independent layers:
- Chat protection automatically screens messages for spam, scams, and ads as soon as you activate the bot.
- Rules let you build custom filters for excessive caps, links, emote spam, and blocked words.
Chat Moderation is included on Free, Premium, and Pro, and appears as Beta in the module catalog. Viewing your setup requires moderation:view; making edits requires moderation:manage (without it, the page is read-only).
Needs full access: Neither chat protection nor your custom rules take effect until you activate the bot. You can still configure everything ahead of time—until you activate, the page shows a Needs full access banner with an Activate Bot button. See Getting Started.
Set it up
Section titled “Set it up”- Open Modules → Chat Moderation.
- Under Protection, review What to detect and Exempt roles (chat protection is turned on by default).
- Switch to Rules, enable Rule filter, and configure the rules you need—you can add up to 20.
- For each rule, choose who is exempt under Skip this rule for, then set the three escalation steps: First time, Second time, and Every time after.
- Click Save Settings to apply your changes.
The page is organized into four tabs: Protection, Rules, Recent Actions, and Decisions.
Sample moderation rules and demo channel data.
Chat protection
Section titled “Chat protection”For every new chatter, chat protection automatically reviews their first message on Free, their first two messages on Premium, and their first three messages on Pro against the categories you enable. Second and third messages are evaluated alongside what that chatter already sent earlier. None of these included new-chatter checks spend AI credits on any plan. When a message triggers a match, the bot issues an immediate ban.
| Setting | Default | What it catches |
|---|---|---|
| Spam / scams | On | Phishing, credential theft, scams, and offers to sell fake viewers or followers. |
| Ads / sales | On | Unsolicited pitches selling products, services, viewers, or followers. |
| Self-promotion | On | Promoting the chatter’s own channel or socials (encouraging viewers to follow the channel’s own streamer is ignored). |
| Profanity | Off | Explicit swear words written by the chatter. |
| Insults | Off | Direct abusive attacks aimed at a person or group. |
- Review subsequent messages (Premium and Pro) continues checking every message after a chatter’s included initial checks. These extra reviews draw from your AI credits when available; if credits run out or can’t be verified, a fallback check runs at no charge.
- Ban confidence sets the minimum score required to issue a ban. It defaults to 85% (locked at 85% on Free, adjustable between 80% and 100% on Premium and Pro). Before banning, the overall assessment must also confirm that the message contains unwanted behavior.
- Borderline or uncertain messages are allowed through and logged, without advancing any rule’s offense ladder.
- Exempt roles bypass chat protection completely. Moderators, editors, and channel admins are exempt by default, and you can optionally add VIPs, subscribers, and founders.
- The broadcaster, the bot itself, and recognized service bots (such as Nightbot, StreamElements, SoundAlerts, and StreamlootsBot) are always bypassed.
- Turning off every category under What to detect pauses chat protection. Turning off Rule filter does not disable chat protection.
- Chat protection operates independently from your custom rules. AI reviews are capped at 30 messages per minute per channel and 300 per minute across all channels; messages past either cap are skipped.
Each rule targets one specific type of chat behavior:
| Rule | What it filters | Options and defaults |
|---|---|---|
| Caps | Messages heavy on uppercase letters | Caps count (default 8 capitals) or Caps percentage (default 70%). Minimum message length counts letters only (default 10). Emote names are ignored. |
| Links | URLs outside your allowlist | Allowed domains (up to 50). Subdomains are automatically permitted—allowing twitch.tv also permits clips.twitch.tv. A brand-new link rule blocks all links until you add allowed domains. |
| Emote spam | Messages exceeding your Twitch emote limit | Maximum emotes (default 10) |
| Blocked words | Exact words or phrases you define | Up to 200 entries, separated by commas or Enter. Case- and accent-insensitive; won’t trigger inside longer words. |
Note that the link filter uses practical URL detection rather than strict validation—anything it doesn’t recognize as a URL will pass through.
Brand-new channels start with Caps, Links, and Emote spam enabled and Blocked words off. Existing channels keep whatever rules they already had until you save new changes.
Penalties and exemptions
Section titled “Penalties and exemptions”Every rule uses a three-step offense ladder, with the third step repeating for all subsequent violations:
- First time, Second time, and Every time after.
- Available actions per step: Just count it, Warn, Delete, Timeout, or Ban.
- Defaults: warn first, delete second, and issue a 60-second timeout from the third offense onward.
| Action | Effect |
|---|---|
| Just count it | Logs the violation and advances the ladder without touching the message. |
| Warn | Issues a Twitch warning plus a public notice in chat. |
| Delete | Removes the message and posts a public chat notice. |
| Timeout | Mutes the chatter for your chosen duration, up to 14 days. |
| Ban | Permanently bans the chatter from your channel. |
To prevent chat clutter, public notices fire at most once per chatter per minute, even though the underlying moderation action still runs on every match.
Forget warnings after controls how long a chatter’s offenses stay active before resetting—anywhere from 1 to 1,440 minutes (24 hours), defaulting to 60 minutes. Each rule tracks offenses per chatter independently. The window starts on the first offense; once it expires, the next match starts fresh at First time.
Use Skip this rule for to define exemptions for an individual rule using one of three modes:
- User level: such as Mods and above (the most common setup).
- Tags: exempt or target viewers by Twitch badge/role, like VIPs or subscribers.
- Accounts: explicitly allow or always enforce the rule for named Twitch accounts.
The broadcaster and the bot account are always exempt from every rule.
Advanced options (Premium and Pro)
Section titled “Advanced options (Premium and Pro)”Free channels can configure and save these options, but they only take effect on Premium or Pro:
- Word variations catches evasive spellings of your blocked words—including spaced-out letters, repeated characters, or broader variants.
- Regex patterns let you expand a blocked word with a custom pattern using RE2 syntax (no surrounding slashes, lookarounds, or backreferences).
- Contextual review asks the AI to check matched messages against your written policy and surrounding chat context. Only confirmed violations advance the offense ladder; if the review is uncertain, times out, or your channel is out of AI credits, the message is allowed and logged. Contextual reviews use AI credits.
Temporary bypasses with permit
Section titled “Temporary bypasses with permit”Custom AST commands can use $(permit) to temporarily exempt chatters from all moderation filters, including chat protection. Calling $(permit) with no arguments permits the whole chat for 60 seconds; $(permit username) permits a single user; and $(permit username seconds) sets a custom window from 1 to 600 seconds (passing a bare number permits everyone for that many seconds). Keep any command calling $(permit) locked to trusted users. See AST moderation functions.
Recent Actions and Decisions
Section titled “Recent Actions and Decisions”Recent Actions shows a 30-day log of actions taken by the bot—timestamp, username, matched rule, action, offense count, and outcome (Applied or Failed)—paginated at 10 rows per page.
Decisions displays moderation matches and verdicts from the past 30 days (the bot retains underlying decision records for up to 180 days).
If an entry shows Failed, either Twitch rejected the request or the bot is missing moderation privileges in your channel. Confirm the bot has mod permissions and check the failure reason before relying on that rule.
If the moderation engine ever runs into an internal error, DomDimaBot logs the issue and lets the chat message pass normally so other chat features keep running uninterrupted.
