Telegram Anti-Raid Protection — Automatic Stop for Join Floods
Telemod Anti-Raid shields your Telegram group from mass bot invasions: when joins spike, the bot automatically switches to strict mode, silences welcome messages and notifies admins. Works out of the box on all plans.
Automatic raid detection
The bot counts joins over a sliding time window (10–600 s, configurable). When the count exceeds the threshold (3–200, default: 10 joins in 60 s), anti-raid mode activates automatically — no admin action needed.
Manual mode /raid on/off
An admin can trigger strict mode manually with /raid on — useful when an attack is spotted before the auto-detector fires. The mode turns off automatically after 30 minutes or on /raid off.
Silence for raiders
In raid mode, the bot suppresses all welcome messages so raid bots get no group response. The bot publicly announces the active mode, signalling to legitimate members that protection is on.
Instant admin alerts
On auto-trigger, the owner and all panel admins receive a private message with the group name and the number of joins — so they can respond immediately, even without being in the chat.
How anti-raid mode works
- Telemod counts joins. When 10 or more accounts enter the group within 60 seconds, the bot treats the surge as a raid.
- Raid mode switches on automatically for 30 minutes. The bot announces it in the group and sends a private alert to the admins.
- While raid mode is active, every newcomer must pass a captcha within 60 seconds, and those who fail are banned, not just kicked. The newcomer quarantine is forced on, so fresh accounts cannot post links or media.
- After 30 minutes the group returns to its normal settings by itself. Nobody has to be online at 3 a.m. to save the chat.
What you can configure
- Join threshold
- How many joins trigger raid mode. The default is 10; large groups with a steady flow of newcomers can raise it up to 200.
- Time window
- The period in which joins are counted — 60 seconds by default, adjustable from 10 seconds to 10 minutes.
- Automatic mode
- Enabled by default. You can switch it off and rely only on the manual command.
- Manual start
- The /raid command turns raid mode on for 30 minutes at any moment — useful when you see the attack before the counter does.
- Quiet welcome
- During a raid the bot stops sending welcome messages, so the chat is not buried under dozens of greetings.
How to prepare a group for a raid
- Leave automatic mode on even in a quiet group. A raid usually comes without warning — after a mention in a big channel, a conflict with another community or a competitor's order.
- Enable CAS bans: a large share of raid accounts are already known spammers and will be removed at the door, before the captcha.
- If your group regularly gets legitimate waves of newcomers — after ads, streams or giveaways — raise the join threshold so that marketing is not mistaken for an attack.
- Networks of several chats should add a federation: an account banned during a raid in one group is banned in all of them.
Anti-raid: frequently asked questions
What is a raid in Telegram?
A coordinated attack in which dozens or hundreds of accounts join a group within minutes and flood it with spam, insults or scam links. The goal is to drown the chat, scare members away or get the group reported.
Will real people who join during a raid be banned?
Only if they ignore the captcha. A real person taps the “I am human” button within 60 seconds and enters the chat as usual.
How do I stop a raid that is already in progress?
Send /raid in the group: the hardened mode starts immediately for 30 minutes. Spam that has already been posted is handled by the anti-spam filter, and admins can clean up the rest with /ban.
Is anti-raid protection free?
Yes, automatic raid detection and the /raid command are included in the free plan.
Does the bot notify admins?
Yes. When raid mode starts, the bot posts a notice in the group and sends a direct message to the admins who have opened a chat with it.