Moderation & anti-spam
The Moderation section (Edit Bot Settings → Moderation) is the most important — and easiest to misconfigure — part of your bot. Here's what each piece does and the chat commands behind it.
Spam & flood
- Message spam — limit how many messages in a row, and how fast, a member may post (
!spamfilter/!spamcheck; tune thresholds in the Advanced tab). - Letter spam — cap repeated duplicate letters (
!letterspam). - CAPS — limit shouting (
!capslockfilter,!capslockpercentfilter). - Smiley spam — limit smiley flooding (
!smileyfilter,!smileyfilteramount).
Anti-AFK
Set the maximum idle minutes, the action taken, and which rank it applies to (!antiafk / !away). A user is AFK after no messages or actions — note a (tickle) counts as an action, so clicking the bot doesn't count as idle.
Kicks before ban
For each offense type you choose how many kicks happen before the bot bans, plus the ban length (!maxkicks, !banlength). Example: set profanity to 1 kick so the second offense bans instead of kicks.
Raid protection
When a raid hits, the bot can lock the room down automatically. In Edit Bot Settings → Advanced → Protection (or !raidprotection) choose a mode — for example require a captcha, registered users only, or members only — and the bot flips the room into xat's protect mode for you when it detects a flood of joins. You can also trigger xat's protect manually with /pr (and clear the room with !kickall / !kickguests).
More moderation guides
- Profanity filter — bad-word filtering.
- Auto-member — who gets membered automatically.
- Ranks & permissions — give people rank, temp ranks, and lock down who can use which commands.
- Banished users & link filter — auto-ban troublemakers and control links.