PoshBot icon indicating copy to clipboard operation
PoshBot copied to clipboard

Feature Request - Ability to send message to user that may not have initiated the conversation

Open rayterrill opened this issue 6 years ago • 4 comments

Poshbot currently provides the ability to respond to a user based on something - either in the same channel or via DM, but that workflow appears to require that the user initiate that communication. It would be slick to provide the ability to @ or DM a user without the user initiating that conversation.

Expected Behavior

Allow poshbot to message a user without the user initiating the conversation.

Current Behavior

Does not appear to allow this functionality.

Context

Allow the user to tell poshbot to look for a particular thing to happen (a particular user comes online, a system is available, etc), and DM the user when that condition is met.

Your Environment

Server 2012 R2, WMF5.1.

rayterrill avatar Sep 09 '17 18:09 rayterrill

So in this case, it'd be using event/regex triggers but specific only to the person who requested them? Something like:

!notify me when @rayterrill is online

Then when you come online, PoshBot DMs me something like:

Psst! @rayterrill is online now!

This would probably be best suited to a separate plugin that you could use to wrap existing plugin commands for personal install of channel/global use. It'd require some stateful storage and lookups to handle multiple users saving their own personal notifications.

Could also be some good use for groups - for example:

!Notify @rayterrill, @michaeltlombardi when ^New Incident (MyApp)\

And then we get mentioned or DM'd or whatever when New Incident (MyApp): WebServer01 Unresponsive pops up in chat a couple hours later.

michaeltlombardi avatar Sep 12 '17 14:09 michaeltlombardi

@michaeltlombardi This sounds perfect. :D

rayterrill avatar Sep 13 '17 02:09 rayterrill

I've got some other contributions I'm making this week, so if someone picks this up in the near future, great! If not, I'll keep this on my back burner. Sounds like a pretty neat plugin!

michaeltlombardi avatar Sep 13 '17 03:09 michaeltlombardi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 23 '19 05:08 stale[bot]