Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

TheCodingDen/mini-slash

Repository files navigation

mini-slash

Highlighter/Auxiliary bot for TCD

Dependencies

  • Docker
  • libvips (including GI Bindings)

Usage

Uses TOKEN, SERVER, and takes path to file as argument. Requires the Server Members Intent to be turned in the Discord Dev Dashboard.

---
linked-joins:
  731584499300696126: 749361970721063003
dhash:
  some-pfp: 99805943371466503880474332147715089847241471423457971211378056886063464448
admins:
- 163607982473609216
whitelist_roles:
- 257497572183113728
notifications: 525783962023362616
action_log: 525783962023362616
pfp_log: 525783962023362616
ban_message: "You have been banned from The Coding Den. Reason: `%s`.\nTo appeal, visit <https://tcd.one/appeal>"
groups:
  - name: badware
    mode: delete
  	words:
  	  - skype
  	  - teamspeak
    whitelist:
      - discord
  - name: spam
    mode: softban
    words:
      - somepornsite101010.com
    whitelist:
      - discord
  - name: slurs
    mode: log
    words:
      - jap
    whitelist:
      - japan
message_cache_config:
  size: 500
  min_message_length: 10
  short_message_length: 15
  short_message_similarity_threshold: 85
  similarity_threshold: 60
  similarity_threshold_single: 128
  max_time_diff_minutes: 3
  max_size_diff_percentage: 30
  ignored_channels: [856970378545725463]
  point_requirement_single: 5
  point_requirement_multi: 10
  points_on_match: 1
  point_overrides:
    nitro: 2

Available Modes

  • Log Simply sends a notification to a preset channel via the config
  • Delete Deletes the message
  • Softban Deletes all the messages the user sent the past 24h by banning them, and unbanning them again
  • Ban Same as above, except they don't get unbanned

Docker

docker compose up

Contributing

  1. Fork it (https://github.com/TheCodingDen/mini-slash)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

The Swiss army knife of TCD automod

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors