A Telegram bot to prevent spamming ads by MTProto (CLI) and API Bots.
- Kick Bots (Not MTPRoto bots, but the accounts that Telegram identifies as bot)
- Preventing spammers by showing them a simple math equation as captcha
- Search in Archlinux's Wiki
- Python 3.6+
- Clone repository.
- Create a virtual environment using
virtualenv venvinside the cloned directory. - Activate the virtual environment using
source venv/bin/activate. - Install requirements using
pip install -r requirements.txt. - Create a MariaDB/MySQL Database.
- Rename
.env.exampleto.envand fill in the data. - Migrate database to the latest version using
alembic upgrade head.
- Run the
app.pyfile, you can use something liketmuxorscreento run it in background.
You can run this bot using Docker too!
- Clone this repostiry
- Go to the project's directory
- Create a MariaDB/MySQL Database.
- Rename
.env.exampleto.envand fill in the data. - Build the docker image using
docker build . -t archie_bot
- Run the container using
docker run -d archie_bot