A telegram bot that manages CAPTCHA verification for new group members.
- Automatic verification prompts for new members
- Web-based CAPTCHA interface
- Time-limited verification (5 minutes default)
- Temporary message restrictions during verification
- Database tracking of verification attempts
- Python 3.7+
- Telegram Bot API token
- Environment variables configured (see Setup)
-
Install dependencies:
pip install -r requirements.txt -
Set environment variables:
API_TOKEN=your_bot_token GROUP_ID=your_group_id BOT_USERNAME=your_bot_username -
Initialize the database and run the bot:
python bot.py python server.py python timeout.py
Use the provided Procfile for Heroku deployment:
heroku create your-app-name
git push heroku main
This project is licensed under the MIT License. See the LICENSE file for details.