Skip to content

fangykai/warden-rules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Warden rules

This repository contains a collection of vetted rules to be used with Defender's Warden module.
Some can be used as-is, some will require adjustments for them to work with your server structure / workflow and some will be generic rules that showcase the more complex features of Warden.
It is expected that you have a solid grasp of how Defender works and understand a rule's logic before adding it to your server.
Never add a Warden rule before personally vetting its code.

Contributions

Contributions are welcome, with a few caveats

  1. Your rule should be useful for a larger audience and not overly tailored to your community. Replace any ID with obvious placeholders (e.g. <USER_ID> <ROLE_ID>) and simplify it as much as possible by removing anything that is not strictly necessary
  2. If your rule takes action on a target make it rank 2 or below. Better safe than sorry
  3. Comments are welcome for particularly complex logic and non-obvious parts
  4. If your logic spans over multiple rules, or it's a series of related rules, name them accordingly. E.g. dehoister-1, dehoister-2

The rules

Name Description
dehoister-1 An event-based / periodic rule that renames people whose name starts with an exclamation mark for hoisting purposes
dehoister-2 Resets the nickname of people who are no longer hoisting
new-user-1-attachments Removes messages containing attachments from new users
new-user-2-urls Removes messages containing clickable urls from new users
new-user-3-mute Mute the user if they're spamming attachments and/or urls
nitro-scam A non-blacklist based approach to counter common nitro / steam scams bots
post-raid-cleanup Scenario: your server has been raided and you have 500 bots to evict
run-once-rule A rule that is supposed to run only once every 15 minutes

About

A collection of useful Warden rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published