aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-12-31 18:19:08 +0000
committerGravatar Chris Lovering <[email protected]>2022-02-16 22:12:04 +0000
commit15fb882b49a2fb66b55b31aeb377ac03421de73d (patch)
tree1cd6097bbad96f868197c07b5932469e90e6d0e1 /tests
parentUpdate respect_role_hierarchy decorator to pass through return values (diff)
Change purgeban to use custom clean logic
This migrates the purgeban command away from Discord's native purgeban to our custom logic. Discord's native purgeban does not leave us with any evidence or context of what messages were deleted. So when mods reference the infraction at a later date they are lacking information. Instead, we use our custom clean cog to delete all messages from the user in question for the last hour, and automatically append the link to the clean log to the infraction reason. .
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions