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.
- Clone the repo
- Open the
appfolder - Rename
sample.envto.env - Enter your Telegram bot token from @botfather
- Type
pip install -r requirements.txtto install dependencies - Run by typing
python main.py
- Run by typing
docker compose up -din the repo's root folder
- Add the bot to your supergroup as admin
- The bot only works for supergroups (public)