A simple implementation of anti-spam bot for itmo opensource chat.
Currently, the bot can successfully ban spammers in telegram supergroups based on ruBERT classification. Only supports russian language.
- Expand the bot into other languages;
- Appeal option for blocked users;
- Add option to ban spammers in channels comment section and groups with topics;
- Add docker compose file to run the bot in a container;
- Add a homoglyph tool and language detection instead of explicitly handling homoglyphs.
Contributions are very welcome, send your PR and I'll review it as soon as I have time.
Thanks to the authors of fine-tuned ruBERT for spam-detection. Thanks to @MaksimZyryanov for QA of the bot to fix some bugs. Thanks to Deev Roman for some hints regarding telegram API.