Skip to content

Niron3206/rust-antimat

Repository files navigation

Bad_words

English | Русский

🤬 rust-antimat

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

🔧 Set up

  1. Create your own bot here: Discord Applications
  2. Copy and paste your token in .env file. (Also, you can pick your own deleting percentage)
  3. Run in cmd/terminal: cargo run --package rust-antimat --bin rust-antimat

About

Advanced ban words filtering

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published