botkit icon indicating copy to clipboard operation
botkit copied to clipboard

silentRepeat() ends Conversation

Open domschiener opened this issue 10 years ago • 6 comments

Currently trying to use convo.silentRepeat() but it is not behaving as expected. Instead of simply waiting for new input from the user, it ends the conversation altogether. I have tried comparing it with convo.repeat() which works just fine (repeats the question and waits for a new response from the user).

This seems to be a bug.

Botkit Version: 0.2.2 OS: Mac OSX 10.11.6

info: [Start]  0  Task for  U1MBJHLQ1 in D1U5QGDGV
info: >   [Start]  0  Conversation with  U1MBJHLQ1 in D1U5QGDGV
info: ** API CALL: https://slack.com/api/im.open
info: >   [Start]  1  Conversation with  U1MBJHLQ1 in D1U5QGDGV
info: >   [End]  0  Conversation with  U1MBJHLQ1 in D1U5QGDGV

SILENT REPEATING

debug: No handler for conversationEnded
debug: No handler for end
info: >   [End]  1  Conversation with  U1MBJHLQ1 in D1U5QGDGV
info: [End]  0  Task for  U1MBJHLQ1 in D1U5QGDGV

domschiener avatar Aug 12 '16 21:08 domschiener

https://github.com/howdyai/botkit/issues/318 seems to be having similar issues.

domschiener avatar Aug 12 '16 21:08 domschiener

Let's continue the discussion in https://github.com/howdyai/botkit/issues/365

peterswimm avatar Oct 10 '16 17:10 peterswimm

@peterswimm Did you mean the discussion is continued in #318 ? Is @mostr's reply there (from Sep 26) the recommended way of working around this?

itamarro avatar Nov 28 '16 02:11 itamarro

@itamarro just merging two topics into one for more visibility! Did you try the suggested workaround?

peterswimm avatar Nov 28 '16 15:11 peterswimm

Got it :) Yes, I did apply the workaround and it works for me. Just wanted to be cautious and see if it's indeed the recommended way.

itamarro avatar Nov 28 '16 18:11 itamarro

hi, what's the deal with this? Can we please make silentRepeat() work in an expected way?

JimLynchCodes avatar May 15 '19 14:05 JimLynchCodes