Skip to main content
Docs / Protection / Antiflood

AntiFlood

Blocks users who send too many messages in a short period of time (flood).

How does it work?

The bot counts each user's messages within a time window. If a user exceeds the limit, the configured action is triggered.

Configuration

  1. /config → Select group → AntiFlood
  2. Enable/Disable — Toggle on/off
  3. Maximum messages — Number of messages allowed in the window (3-20, default 5)
  4. Window — Time period in seconds (5-60, default 10)
  5. Actionmute (default), warn, kick, ban

Example

With the default configuration (5 messages in 10 seconds): - If a user sends 6 messages in 10 seconds → the action is triggered - The user enters a "cooldown" and their messages are automatically deleted until the period ends

Notes

  • Administrators are exempt
  • The cooldown is applied per user and per group