aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py
diff options
context:
space:
mode:
authorGravatar Akarys42 <[email protected]>2019-10-25 12:10:26 +0200
committerGravatar Akarys42 <[email protected]>2019-10-25 12:10:26 +0200
commit9b8d688657f7044ad27ff81f7eb7d50f7f593ed6 (patch)
tree89a5c2b8b1892920c1505a999de7000a52c67f77 /tests/test_helpers.py
parentMerge pull request #541 from ikuyarihS/master (diff)
Autodelete offensive messages after one week.
If the filter cog filter a message that's considered as offensive (filter["offensive_msg"] is True), the cog create a new offensive message object in the bot db with a delete_date of one week after it was sent. A background task run every day, pull up a list of message to delete, find them back, and delete them.
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions