timkinnane / hubot-rocketchat-welcome

MIT License
3 stars 3 forks source link

It does not work in livechat #1

Open edurenye opened 6 years ago

edurenye commented 6 years ago

This bot does not welcome in livechat, would be nice to be able to write a welcome message in the livechat asking if the user has any problem for example and let the agents continue the conversation afterwards.

timkinnane commented 6 years ago

@edurenye I did not know this package had users. :P Have you set RESPOND_TO_LIVECHAT=true in env?

timkinnane commented 6 years ago

Actually you know, I'm not sure livechat rooms receive the same kind of enter room message, that would allow this to function. FYI this package hasn't been maintained for 2 years and won't be, but you might be able to fork and update if you find another way to pick up a join event in livechat.

e.g. You could give the bot the livechat-manager role and set RESPOND_TO_ALL_PUBLIC=true which has a sneaky side effect of letting the bot receive all livechat messages, then use Hubot brain to remember known users, welcoming anyone who isn't in the brain.

edurenye commented 6 years ago

Thank you! Yes, I did try setting RESPOND_TO_LIVECHAT=true but that did not work. I'll try giving that role to the bot and setting RESPOND_TO_ALL_PUBLIC=true, thanks for that hint.