Skip to content

Spam defense looks for patterns across messages and accounts, such as a group arriving to post the same spam. It also takes a viewer’s history into account so an established community member is treated differently from an unfamiliar account. This complements a chat filter, which checks an individual message against a rule you chose.

Open Settings, then Spam defense in the Access group to set your channel’s policy. A new policy only records what it finds for ordinary decisions and does not act on it. You can let it act later. The settings below explain both the working controls and the controls marked Not yet active, so a saved value does not give a false impression of protection.

Who can use this page

WhoWhat they may do
A Moderator, Lead moderator, Editor or BroadcasterOpen the page and read every value.
The Broadcaster, or a person the Broadcaster has given the permit to manage the spam policyChange the values and save them.

The roles are explained on Permissions.

The Save button shows only to someone who may change the page. Anyone else sees the number boxes locked, and an on or off badge in place of each switch.

Change the policy

Save stays inactive until a value changes, so to save the watch-only switch as it is, change one other value first.

  1. Open Settings in the sidebar, then Spam defense in the Access group. The page shows one card for each group of settings.
  2. Change a number or flip a switch. The header shows “Unsaved changes”, and Save becomes active.
  3. Choose Save. The bot stores every setting at once and shows “Spam defense saved.”

Save stays inactive while a value is out of range. For most settings, the reason shows in red under the setting, for example “Enter a value from 0 to 365.” The four “established” settings in Trust show no reason. There, a blank or negative value only keeps Save inactive.

Where the values come from

A channel that never saved this page uses the bot’s default values. After the first Save, the channel keeps its own values.

The tables below show the default values the bot starts with. The person who runs your bot can change these default values. Then a channel that never saved uses the changed values, not the ones in the tables.

Start in watch-only mode

Watch only, do not act is on by default. To keep the channel recording detections without acting on them, save the page with this switch on. The dashboard has no screen that shows these records yet. Save is inactive until a value changes, and the switch already shows on. So change any other value first, for example one threshold, and then choose Save. The save stores every setting, including the watch-only switch as on.

Each channel also has a first watch period of seven days. Ordinary spam decisions only watch during this period, even with Watch only, do not act off. The initial clock uses the channel’s creation date in the bot, rather than the date of its most recent join.

If spam defense was off when you first saved it on, the seven days start at that save. For ordinary decisions, the bot acts only after the seven days and with watch-only mode off.

One kind of message is an exception: a message that sells viewers or followers and links to a store. The bot can act on it at once:

  • during the first watch period,
  • and while the channel still uses the default watch-only value.

On Twitch, the bot can then ban the sender directly, without the escalation ladder. It never does this to an established or protected viewer.

To stop this exception, save Watch only, do not act on for your channel.

Settings and defaults

The settings work together rather than as independent strictness switches. For example, a campaign needs enough accounts, a high enough share of strangers and enough time for the bot to assess the group. Some settings are a share from 0 to 1: 0.8 means 80 percent.

Master

This group turns spam defense on or off and sets watch-only mode.

SettingDefaultAllowed values
Spam defense enabledOnOn or off
Watch only, do not actOnOn or off

Spam defense enabled off means no detection and no records at all. With Watch only, do not act saved on for this channel, the bot records and does not act. With it off, ordinary enforcement starts after the first watch period. The viewer-selling exception above can act earlier.

Trust

SettingDefaultAllowed values
Days around before a viewer counts as established90 days0 or more
Messages before a viewer counts as established300 messages0 or more
Separate active days before a viewer counts as established30 days0 or more
Strike-free days before a viewer counts as established180 days0 or more
Watch hours here that earn protection10 hours1 to 200
Watch hours across all channels that earn protection25 hours1 to 500

A viewer earns the established tier by reaching the days-around, message-count and separate-active-day thresholds. “Days around” counts the days since the viewer’s first message in your channel. Strike-free days before a viewer counts as established is saved, but the current spam-defense calculation assumes the viewer has no recent upheld strike instead of checking their moderation history. Changing that fourth threshold therefore does not currently delay the established tier.

A moderator is exempt from spam checks. A VIP normally counts as established. On Twitch, a streamer whose channel this channel’s owner moderates receives the Trusted tier when that relationship can be verified.

A Twitch suspicious-user flag can lower the resolved trust tier of a VIP or a viewer who meets the participation thresholds. It can also override watch-hour protection.

This participation-based spam-defense tier is separate from the numerical moderation score on Trust and escalation. On the page, the four “established” values sit together under the label Trust ladder thresholds.

The bot counts the hours each viewer watches. A viewer who reaches either watch-hours value earns protection.

Watch hours here that earn protection counts the hours in your channel only. Watch hours across all channels that earn protection counts the hours in every channel on this bot server.

A protected viewer is never banned or timed out automatically. The bot may still remove a message of that viewer and flag it. A moderator then decides the rest.

Detection runs for incoming Twitch, Kick and YouTube chat, but enforcement follows the platform the message came from. On Twitch, a high-confidence decision removes the message and then times out the account. The timeout lasts as long as the channel’s automatic timeout length, or 10 minutes when none is set. A channel whose Escalation page has both Escalation ladder and Count AutoMod holds on lets the ladder pick the action instead.

On Kick and YouTube, the bot deletes the message and, for an account-action decision, times out the account. It does not use the escalation ladder or the direct ban there. The connected account must have permission to carry out the action. A refused platform action can leave a detection recorded without the intended punishment.

New accounts and new followers

SettingDefaultAllowed values
Newest account age that can chat freely0 days (off)0 to 365
Newest follow that can chat freely0 days (off)0 to 90
Keep gated messages for a moderatorOnOn or off

A gated message is a message that one of the two age limits above removed. With Keep gated messages for a moderator on, the message waits in the moderation queue for a moderator. With it off, the message is removed and nothing is kept. The bot queues a message only when the platform really removed it.

Some viewers are never held by these limits:

  • A viewer at the Regular tier or higher is never held.
  • An account whose age the bot cannot see is never held by the account-age limit.
  • The follow limit holds only viewers who follow. A viewer who does not follow is not held by it.

Message content

SettingDefaultAllowed values
How similar counts as the same spam0.60 to 1
Shortest message that can be matched8 characters2 to 50
Restrict other alphabets to established viewersOffOn or off

“Other alphabets” means writing that does not use Latin letters, for example Japanese, Korean, Cyrillic or Arabic. With Restrict other alphabets to established viewers off, anyone may write in another alphabet. With it on, a message in another alphabet from a viewer below the Regular tier looks more suspicious to the bot. The bot then rates that message as medium risk at most, never higher because of the alphabet alone.

The setting’s label says established viewers, but its actual alphabet threshold is the Regular tier. Regular ranks below the Established tier, so an established viewer is never affected. Leaving it off keeps viewers free to use the alphabet they normally write in.

Coordinated campaigns

A campaign is a group of accounts posting matching or similar messages close together. The bot looks at how many of them are strangers to the channel before deciding whether the activity resembles an attack. That distinction matters during a stream: a wave of unfamiliar accounts repeating spam and your regulars joining in with a joke can look similar if you consider message text alone.

A group is exonerated when the share of strangers falls below the configured threshold. With Undo automatically when a group is exonerated on, the bot undoes its campaign actions once, when the group is exonerated. It lifts only the timeouts and bans that the platform confirmed. It does not bring back deleted messages. Keep the two share thresholds apart so the group can move from suspected campaign to exonerated without the decisions overlapping.

SettingDefaultAllowed values
Share of strangers that makes it a campaign0.80.5 to 1
Share at which the group is exonerated0.650.3 to 0.95
Fewest accounts that can be a campaign5 accounts2 to 100
How long a group is watched600 seconds30 to 3600
Longest a group can stay open1800 seconds60 to 7200
Head start before acting8 seconds0 to 120
Undo automatically when a group is exoneratedOnOn or off

Two pairs in this group must stay in order:

  • Share at which the group is exonerated must stay below Share of strangers that makes it a campaign.
  • Longest a group can stay open must be at least How long a group is watched.

The page names a broken pair under the setting, and Save stays inactive.

Sudden activity

SettingDefaultAllowed values
Follow rate that counts as unusual5 times1.5 to 50
Join rate that counts as unusual4 times1.5 to 50

Each value is a number of times your channel’s normal rate. The dashboard marks Join rate that counts as unusual Not yet active. The bot stores it and does not read it yet.

On Twitch, a follow spike makes the bot examine the new followers. It blocks the accounts that look like follow bots on Twitch. In watch-only mode or during the first watch period, it only records them. The dashboard has no screen yet to see or undo these blocks. The bot measures the follow spike for Twitch only.

Raid lockdown

To tighten the room means to turn on stricter chat rules during a raid, such as slow mode and followers-only, and later put them back as they were. The dashboard marks all three settings in this group Not yet active. Nothing tightens the room automatically during a raid yet, and the dashboard has no button that tightens it.

The bot reads these three settings only for a lockdown that is started by hand, outside the dashboard. Then the room stays tightened for How long the room stays tightened.

A second lockdown request can arrive while the room is still tightened. With Keep it tightened while the attack continues on, the bot then extends the time. It never extends past Longest the room can stay tightened, counted from the start.

SettingDefaultAllowed values
How long the room stays tightened15 minutes1 to 240
Keep it tightened while the attack continuesOnOn or off
Longest the room can stay tightened60 minutes5 to 480

Longest the room can stay tightened must be at least How long the room stays tightened.

Shared spam list

The shared spam list is meant to hold spam patterns and bad links that other bot servers found. The dashboard marks Use the shared spam list and Share what you catch Not yet active. The bot stores their values and does not read them yet.

SettingDefaultAllowed values
Use the shared spam listOnOn or off
Share what you catchOffOn or off
Reports needed before a shared pattern acts3 reports1 to 20

The page explains that Share what you catch is meant to send only the patterns your channel confirms, never message text or viewer names.

The bot reads Reports needed before a shared pattern acts each time it checks a message. A pattern that is held back is used in that check only after it has at least this many reports.

Today the bot holds back no pattern: the patterns it uses come from your own bot server, and those are never held back. So this number changes the result only when held-back patterns arrive from the shared spam list.

Settings marked Not yet active

These settings carry the badge Not yet active:

  • Join rate that counts as unusual
  • How long the room stays tightened
  • Keep it tightened while the attack continues
  • Longest the room can stay tightened
  • Use the shared spam list
  • Share what you catch

The bot stores Join rate that counts as unusual, Use the shared spam list and Share what you catch, and does not read them yet. The three lockdown settings are read only for a lockdown started by hand, as Raid lockdown above explains.

Guarantees with no switch

The card Guarantees with no switch at the bottom of the page lists rules that no setting can turn off. For example, an established viewer of your channel is never acted on automatically by any part of spam defense.