williamkray / maubot-communitybot

a maubot plugin to help you manage your community rooms on matrix
MIT License
10 stars 0 forks source link

[feature] report messages to admin notification room #1

Open williamkray opened 1 month ago

williamkray commented 1 month ago

would be helpful to allow community members to report messages to community administrators. there's already a notification room configuration in the plugin for member join events, it could be leveraged for report notifications.

initial thinking is emoji reaction to report messages, and then the notification would include a link to the message event for admins to follow and make judgement about. this avoids using server reports, which is a clunky system, and enables community admins regardless of what server they're on.

could allow for a bot command for deleting the reported message, but could be clunky going back and forth between rooms... would need to consider how to make that easier. maybe another emoji, restricted to admins, that triggers a message deletion by the bot. but need to think about it. in theory, if rooms are created with the createroom command, admins should already have the appropriate power level to delete messages.

williamkray commented 1 month ago

realizing this can be easily accomplished with another plugin (https://github.com/ajkessel/reacjibot/tree/main). no strong need to implement in this plugin at this time.