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

Automatically ping Mods (configurable keyword detection response and action) #3

Open natrius opened 2 years ago

natrius commented 2 years ago

I missed the message from this bot last times because i did not get that it autodeletes its messages after the culprits are gone.

But, it would be great if the Bot automatically would ping admin and mods of the channel.

jjj333-p commented 2 years ago

I plan on adding something like that. One work around for now is you could add one of the links posted by the bot to your keywords in element.

On Sun, Jun 26, 2022 at 7:57 PM Stefan @.***> wrote:

I missed the message from this bot last times because i did not get that it autodeletes its messages after the culprits are gone.

But, it would be great if the Bot automatically would ping admin and mods of the channel.

— Reply to this email directly, view it on GitHub https://github.com/jjj333-p/spam-police/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWNJYMC67JDPAXVSIZ6NW6DVRE7FXANCNFSM5Z5IC7CA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jjj333-p commented 1 year ago

adding the thought to allow the person who added the bot to change the cmd.

im thinking it wouldnt have the modmention by default and then you can add it.

this is a pretty important one to fix but its not too soon on the horizon

jjj333-p commented 10 months ago

honestly embarrasing i never got around to this yet.

was going through the issues and i had the brainstorm that the bot could simply check the room powerlevels and easily see who has moderation perms. this maybe should be enable-able instead of on by default though. unsure how admins will react to random pings (we already got kicked out of the element adjacent rooms).

JokerGermany commented 10 months ago

I like the idea, but i only add it to deprecated channels... One hint: When you implement this, test the use case what happens when no administrator and moderator is in the room. (to prevent the bot crashing)

jjj333-p commented 10 months ago

I honestly was thinking it would have to be something manually enabled by someone with moderator privileges. Perhaps the join message could shed light on the command and I could send out a quick message about the new features once I have time to finalize everything and make it ready for the first stable release. I’m gonna try and jump online if you wanna chat about this in the support room

On Wed, Oct 11, 2023 at 10:36 PM JokerGermany @.***> wrote:

I like the idea, but i only add it to deprecated channels... One hint: When you implement this, test the use case what happens when no administrator and moderator is in the room.

— Reply to this email directly, view it on GitHub https://github.com/jjj333-p/spam-police/issues/3#issuecomment-1759176756, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWNJYMD6OO2H2PVMX3B5UT3X66TXVANCNFSM5Z5IC7CA . You are receiving this because you commented.Message ID: @.***>

jjj333-p commented 3 months ago

comming back to this way later, im planning to make a state based config system, and one point of configurability will hopefully be the warn action.

like if it matches these groups of keywords, respond with x, take y action, and i could also add a feild of who to mention with the new intentional mentions