❤️‍🔥🤖🔢
Find a file
2024-09-06 15:09:46 -04:00
app added deleting the captcha if user leaves 2024-09-06 15:09:46 -04:00
docker-compose.yml removed env variable 2024-08-22 02:42:57 +02:00
README.md updated README.md 2024-08-10 20:30:26 -04:00

affection-captcha-bot

Users are auto muted when they join. They can unmute themself if they successfully click the correct 4 numbers.

The number pad is randomized each time. Difficulty, attempts, and time to expiration can be set in the env file.

Getting Started

  • Clone the repo
  • Open the app folder
  • Rename sample.env to .env
  • Enter your Telegram bot token from @botfather

Bare Metal

  • Type pip install -r requirements.txt to install dependencies
  • Run by typing python main.py

Docker

  • Run by typing docker compose up -d in the repo's root folder

Telegram

  • Add the bot to your supergroup as admin
  • The bot only works for supergroups (public)