You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
In webex, it is possible to start conversations in threads. For the most part, it works fine with startConversationInThread however commands such as ask or addQuestion do not capture the answers
For instance, this case:
const MY_DIALOG_ID = 'my-dialog-name-constant';
const convo = new BotkitConversation(MY_DIALOG_ID, controller);
convo.ask('What is your name?', async(response, convo, bot) => {
console.log(`user name is ${ response }`);
}, 'name');
controller.addDialog(convo);
controller.hears('yo', 'message', async(bot, message) => {
await bot.startConversationInThread(message.channel, message.user, message.id);
await bot.beginDialog(MY_DIALOG_ID);
});
The conversation should go like this (imagine that the bot name is "mybot")
me: @mybot yo
(threat starts)
mybot: What is your name?
me: @mybot Joe
(conversation ends. NOTHING is logged in the console)
However, if I omit the startConversationInThread all works as expected (just not in a threat)
In webex, it is possible to start conversations in threads. For the most part, it works fine with
startConversationInThread
however commands such asask
oraddQuestion
do not capture the answersFor instance, this case:
The conversation should go like this (imagine that the bot name is "mybot")
However, if I omit the
startConversationInThread
all works as expected (just not in a threat)The text was updated successfully, but these errors were encountered: