matrix-org / mjolnir

A moderation tool for Matrix
Apache License 2.0
330 stars 56 forks source link

Notify moderation room when users in protected rooms mention the bot (configurable) #553

Closed Half-Shot closed 1 month ago

Half-Shot commented 1 month ago

Fixes https://github.com/matrix-org/mjolnir/issues/89

This works by checking to see if the bot has been mentioned in any of the protected rooms when a message comes in, and then will ignore any future mentions for the next 8 minutes (giving administrators a chance to deal with the offense, and to reduce spam).

This is off-by-default, as it's enough of a behaviour change that I think administrators should opt into this explicitly.