Mandatory Subscription & Group Guard — a fully ready Telegram bot template with an SQLite database and an admin panel.
Commands: /start, /setchannel, /antiads, /stats.
All files (main.py, requirements.txt, .env) are installed on your server in one click via EliteMarket / Modpacks, and PY_FILE=main.py is set automatically.
Features
Deletes a member's messages with a warning until they subscribe to the channel
Automatically removes foreign links (t.me, http, https) and ads
Welcomes new members nicely and cleans up service messages
Link the channel right from the group with /setchannel @channel
What's in the package
main.py
requirements.txt
.env
.env.example
README.md
Installation guide
On your Bot Hosting server, press “Install on server” in the “Modpacks” section or on the EliteMarket page. Enter your @BotFather token (BOT_TOKEN) and your Telegram ID (ADMIN_ID) in the install window and the bot starts automatically right away!
Update history
v1.0.0MAJOR22.11.2026
1.0.0 — fully tested official release, ready for one-click install.