affection-captcha-bot/README.md
2024-08-10 20:30:26 -04:00

26 lines
No EOL
688 B
Markdown

# 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)