AntiRaid¶
Info
This page is generated from the bot's built-in help (/help).
When a group gets raided by a wave of spam accounts, antiraid mode temporarily bans everyone who joins, so the raid fizzles out while your real members stay untouched. Admins and approved users are never banned.
Commands¶
/antiraid: show the status, with a button to enable or disable it./antiraid<on|off|time>: enable it for the default duration, disable it, or enable it for a specific time, e.g./antiraid 3h./raidtime<time>: default duration when enabled (default 6h)./raidactiontime<time>: how long each joiner is banned (default 1h)./autoantiraid<n|off>: switch antiraid on automatically whennor more people join within a minute. Off by default.
While antiraid is on, bans are logged to the log channel but not announced in the chat. A message is sent when antiraid starts and when it ends. The state survives restarts.
Commands¶
| Commands | Required right | |
|---|---|---|
/antiraid |
Show, enable or disable antiraid mode | change group info |
/raidtime |
How long antiraid stays on when enabled | change group info |
/raidactiontime (/raidactiontimer) |
How long joiners are banned during a raid | change group info |
/autoantiraid |
Enable antiraid automatically after N joins in a minute | change group info |