diff options
| author | 2019-10-25 12:10:26 +0200 | |
|---|---|---|
| committer | 2019-10-25 12:10:26 +0200 | |
| commit | 9b8d688657f7044ad27ff81f7eb7d50f7f593ed6 (patch) | |
| tree | 89a5c2b8b1892920c1505a999de7000a52c67f77 /tests/helpers.py | |
| parent | Merge 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/helpers.py')
0 files changed, 0 insertions, 0 deletions