hubot-natural
hubot-natural copied to clipboard
Bot not leaving livechat after transfer to live agent.
Hi,
I'm having an issue where by hubot-natural chatbot does not leave a livechat session after it has handed off to a live agent.
Using the stock "rocketcat-en.yml" corpus, I have updated the file to include the proper Department hash. When requesting to talk with a human, a live agent is assigned and joins the chat, but the bot is also still present and continues to try and answer as well.
Is there a setting I am missing? It's hard to nail down the config since the images in the instructions are all broken.
Andrew
FYI, using RocketChat version 0.66.3.
Same issue for me. Any fix available for this?
Assuming this is the same issue we're talking about over at bBot...
https://github.com/Amazebot/bbot/issues/111
The bot will keep receiving as long as it's in the room. Need to call the leave room method through the SDK, which is part of the adapter. I don't remember the exact attributes.
Hi @timkinnane ,
Thanks for your response. I understand we need to call leave chat room method. But not able to find from which node module i need to call this. Please help.
Thanks!
From the driver module, which is inside the adaptor. Should be something like bot.adaptor.driver.callMethod