English | Русский
rust-antimat — discord bot that deletes messages by their inappropriate content. It uses Levenshtein distance algorithm to define percentage of similarity with given list of words from bad_words.txt
file. It has a message logging system, though.
Initially, it supports english and russian swears filtering, but you can add your words in bad_words.txt
- Create your own bot here: Discord Applications
- Copy and paste your token in
.env
file. (Also, you can pick your own deleting percentage) - Run in cmd/terminal:
cargo run --package rust-antimat --bin rust-antimat