A utility bot for group chats on Telegram that can:
Filter files and links that may contain virus or malwaresThe current API the bot uses service is no longer available- Filter photos and links of photos that are NSFW
Run the following command to install the required packages:
pip install -r requirements.txt
The bot uses Google Cloud Vision to check for inappropriate content in images, and Google Safe Browsing to check for threats in links..
Make a .env file and put your telegram token in there. Below is an example:
TELE_TOKEN="telegram_token"
GOOGLE_TOKEN="google_token"
You can then start the bot with the following command:
python bot.py