Skip to content

The-Earth/Telegram-CAPTCHA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-CAPTCHA

A Telegram CAPTCHA bot for group entry. It is derived from fossifer's design and written with catbot. In addition to fossifer's original design, ability of running in large groups (with no explicit joining messages) and blocking spam usernames are added.

Installation

git clone https://github.com/The-Earth/Telegram-CAPTCHA
cd Telegram-CAPTCHA
pip install -r requirements.txt
cp config_example.json config.json

Then edit config.json, fill in bot token, set username blacklist, add messages for your language and put the language code in to language list (optional).

nohup python3 main.py &

Known issue

The bot will completely mute the user who has previous restriction by other admins after passing their CAPTCHA. If the previous restriction was a partial mute (that the user could send basic text while be banned from some types of messages), this could be undesirable.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages