-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: handle livechat message #211
Conversation
Nice, it could be great to be able to assign first bot and have a method to transfer to a real live agent.
Good luck for your work :) |
@JigSawFr RocketChat/Rocket.Chat#7136 With this, the first agent can be a bot. :^) |
Love it ! |
These changes on their own look good. I know a couple of guys on the team have done some livechat stuff with hubot some how. Going to take a peak and see if we can combine the two. |
Ok I think I got it now. So the team is actually making use of the hear listener in hubot. The bot is added as an agent in the queue. When its the only one available its assigned to every conversation and is taking all of the messages. This code seems to then allow the bot to respond to messages that it is directly mentioned. So something like So for handling livechat messages in general this PR is not required. But... it will allow mentions to be handled by the bot. Based on this it looks like by default its going to ignore livechat, then when that's on it'll then be able to listen to livechat. |
@gugahoa could you add this option to the readme and i'll go ahead and merge? Btw thanks for the contribution! |
Hello, everyone,
In this PR there's the basic to receive livechat message without the need to mention the bot.
How to use (for now):
Note: It's my first contribution, so any comment is more than welcome! Also, I didn't find any contributing guide, so call me out if I miss something! :^)