diff options
author | 2020-06-05 14:55:41 +0200 | |
---|---|---|
committer | 2020-06-05 14:55:41 +0200 | |
commit | 3c305dadf7ae745fcf2ba9375d577ce750408fd3 (patch) | |
tree | cb81a2aa37a42f9c0abad7894daf8ed32b7100d2 /tests | |
parent | Merge pull request #979 from neonsea/modmail-tag (diff) |
Send infraction DM before applying infraction
I've "reverted" the change that reversed the order of DM'ing a user
about their infraction and applying the actual infraction. A recent PR
reversed the order to stop us from sending DMs when applying the
infraction failed.
However, in order to DM a user, the bot has to share a guild with the
recipient and kicking them off of our server first does not help with
that. That's why I reverted the change and reverted some other minor
changes made in relation to this change.
Note: I did not change the code sending the DM itself; I merely moved it
back to where it belongs and added a comment about the necessity of
doing the DM'ing first.
I couldn't cleanly revert a commit to do this, as changes were spread
out over and included in multiple commits that also contained changes
not related to the `DM->apply infraction` order.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions