/Telegram-Filter-Bot

Primary LanguagePythonMIT LicenseMIT

Telegram Filter Bot

Developed by

As project for the Quality Development Course at UNICT.

Project Goal

The goal of the project is to develop a Telegram bot using the Python language to filter messages from one or more Telegram channels based on specific keywords entered by the user.

Technologies used

How to execute the project

  1. Install the libraries needed first using the following command:
$ pip install -r requirements.txt
  1. Create and populate .env file based on the provided .env.dist file.
    You can obtain the bot token from @BotFather and the API HASH/ID by creating your own Telegram App

  2. Run the code using the following command:

$ python main.py

Software Testing

Run the following command in the main directory to obtain a report about pytest coverage

$ pytest --cov ./src ./tests