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
/config→ Select group → AntiFlood- Enable/Disable — Toggle on/off
- Maximum messages — Number of messages allowed in the window (3-20, default 5)
- Window — Time period in seconds (5-60, default 10)
- Action —
mute(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