An open API service indexing awesome lists of open source software.

https://github.com/richardscull/norussiantoxicitytelegram

Simple python script to detect toxic messages in Telegram
https://github.com/richardscull/norussiantoxicitytelegram

python python-script telegram-bot

Last synced: 11 months ago
JSON representation

Simple python script to detect toxic messages in Telegram

Awesome Lists containing this project

README

          

# No russian toxicity in telegram!

## This is a telegram bot that uses the [blackmoon's dataset](https://www.kaggle.com/datasets/blackmoon/russian-language-toxic-comments) to detect toxicity in messages and builds a leaderboard of the most toxic users.

### How to use:
1. Clone the repo
2. `pip install -r requirements.txt`
3. Set up a bot with [BotFather](https://t.me/botfather) and get the token for it.
4. Create a file called `.env` and paste the token there as shown in the `.env.example` file.
5. Run `python main.py` and enjoy!

### Commands:
- `/leaderboard` - shows the chat's leaderboard