Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 620 Bytes

File metadata and controls

17 lines (14 loc) · 620 Bytes

ArchieBot

A Telegram bot to prevent spamming ads by MTProto (CLI) and API Bots.

Setup

1. Requirements

  • Python 3.6+

2. How to setup

  1. Clone repository.
  2. Create a virtual environment using virtualenv venv inside the cloned directory.
  3. Activate the virtual environment using source venv/bin/activate.
  4. Install requirements using pip install -r requirements.txt.
  5. Rename .env.example to .env and fill in the data.
  6. Initialize the database using python archie.py generate-db.

3. Usage

  • Run the app.py file, you can use something like tmux or screen to run it in background.