/captcha_telegram_bot

Telegram bot that validates new users that enter supergroup. Validation works like a simple captcha.

Primary LanguagePython

Captcha Telegram Bot

Telegram bot that validates new users that enter supergroup. Validation works like a simple captcha.
alt tag

Install requirements

pip install aiogram
pip install pillow

How it works

  1. Add the bot to your supergroup
  2. Promote the bot for administrator privileges
  3. A new user enters your supergroup
  4. Bot restricts the user's ability to send messages
  5. Bot shows a welcome message (the bot will automatically detect the user's language) and a captcha button to the user
  6. If the user doesn't press the button within 30 seconds then the user is banned by the bot

Configuration

In the config.py file you need to specify BOT_TOKEN