Telegram bot that validates new users that enter supergroup. Validation works like a simple captcha.
pip install aiogram
pip install pillow
- Add the bot to your supergroup
- Promote the bot for administrator privileges
- A new user enters your supergroup
- Bot restricts the user's ability to send messages
- Bot shows a welcome message (the bot will automatically detect the user's language) and a captcha button to the user
- If the user doesn't press the button within 30 seconds then the user is banned by the bot
In the config.py
file you need to specify BOT_TOKEN