Introduces a distinction between a "trigger" and a "fire"; always triggers all prerequisite reactions on every trigger, but only allows reactions to fire if their prerequisite reactions have been fired enough times to reach a threshold setting; only fires a reaction once per action event.
This basically lets users do things like remove all offending messages, warn their senders that action has been taken, and even kick users before resorting to bans.
NOTE: This may not be very Pythonic, but it has been run through autopep8, at least.
One commit so far:
Introduces a distinction between a "trigger" and a "fire"; always triggers all prerequisite reactions on every trigger, but only allows reactions to fire if their prerequisite reactions have been fired enough times to reach a threshold setting; only fires a reaction once per action event.
This basically lets users do things like remove all offending messages, warn their senders that action has been taken, and even kick users before resorting to bans.
NOTE: This may not be very Pythonic, but it has been run through autopep8, at least.