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
- Host: GitHub
- URL: https://github.com/richardscull/norussiantoxicitytelegram
- Owner: richardscull
- Created: 2023-10-03T18:53:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-22T00:56:15.000Z (over 2 years ago)
- Last Synced: 2023-10-22T01:38:39.185Z (over 2 years ago)
- Topics: python, python-script, telegram-bot
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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