XVMX / vmbot

Jabberbot based chatbot
GNU General Public License v3.0
2 stars 5 forks source link

Add offline-paging function #47

Closed SwimlanesOnline closed 7 years ago

SwimlanesOnline commented 9 years ago

People who are offline cannot be messaged. Add a command which takes a user name and message and have the bot post it in the channel it was registered in as soon as the user name joins the channel. Save them in a sqlite DB so messages survive outages.

sendmsg

ThirteenFish commented 9 years ago

I had a similar idea to this called remind that would take a time offset and a message, and would post the message once the offset had expired and the poster was in the channel. It shouldn't be too hard to merge these functions. Also having the option to message in a pm might be prudent, if nothing else but to have an especially noticeable way of getting the message across.

Something like this then: page [uname] [offset] [-pm] <message>

Also I'm undecided whether I like pm as default and public as the flag or vice versa.