diff options
| author | 2019-10-24 23:30:35 -0700 | |
|---|---|---|
| committer | 2019-10-25 15:32:20 -0700 | |
| commit | 91e03a8ae03e90a50afb7cfee3cfb2a963365b30 (patch) | |
| tree | e669fdc2788473c7a3a9db9199dc0bc0654da274 /tests | |
| parent | Superstarify: 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