maubot / reminder

A maubot plugin to remind you about things.
GNU Affero General Public License v3.0
42 stars 19 forks source link

Room reminders #19

Open Natureshadow opened 4 years ago

Natureshadow commented 4 years ago

I would like the reminder bot to be able to remind the whole room of something.

Actually, this is currently possible using a "power level reflection attack" ;): If the bot has sufficient power, a user can schedule a reminder containinig @room, and the bot will wake up the room. This is a simple method, but can be abused.

A simple solution would be to:

That still carries the issue that it will notifiy all room mebers three times: on creating the reminder, on confirming the reminder, and on sending the reminder. I would thus prefer to have a new subcommand to trigger room reminders, so the original reminder command does not have to contain @room.

Thoughts please; I will implement this if the maintainers are positive enough that they want it and the open decisions have been decided.

Sleuth56 commented 3 years ago

I think this is a great idea. I've just started using this bot and quickly wanted a way of reminding specific users or a whole room without each user clicking the thumbs up button. My initial thought for the user end of this is.

!remind <users> <date> <message>
!remind @user1 @user2 1 hour submit the new PR.
auscompgeek commented 3 years ago

@lerker100 You can already do that by mentioning the users in the message.

Sleuth56 commented 3 years ago

Testing the @room functionality the bot only notifies the whole room twice. Once while creating the reminder and again once its triggered. I think that's the correct way of doing it. The power level stuff should get worked out though. For larger rooms this could be a huge problem.