jjj333-p / spam-police

A matrix bot to monitor and respond to investment scam spamming across the matrix platform, for example in rooms with a permanently offline admin.
GNU Affero General Public License v3.0
21 stars 8 forks source link

Message purge functionality #5

Open jjj333-p opened 2 years ago

jjj333-p commented 2 years ago

add feature to be able to fetch and purge x amount of messages or filter them for stuff, similar to discord bots

bkil commented 1 year ago

A related idea is to cache messages for a short duration (such as 24 hours) and reprocess this event horizon in case of code changes.

As we are improving on the detection heuristics, you would get immediate feedback (and warnings) about spam with possibly new wording that happened recently.