aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-10-24 23:30:35 -0700
committerGravatar MarkKoz <[email protected]>2019-10-25 15:32:20 -0700
commit91e03a8ae03e90a50afb7cfee3cfb2a963365b30 (patch)
treee669fdc2788473c7a3a9db9199dc0bc0654da274 /tests
parentSuperstarify: refactor superstarify command (diff)
InfractionScheduler: create generic function for reapplying infractions
reapply_infraction() is a generic function which reapplies a given infraction if it is still active or deactivates it if less than 60 seconds remain. Most of the code from Infractions.on_member_joined now lives in this new function. This simplifies the "fancier" DM and mod log that were previously sent for superstar in on_member_join.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions