botkit-middleware icon indicating copy to clipboard operation
botkit-middleware copied to clipboard

Slack Integration with IBM Watson Assistant won't accept new line in user queries.

Open sngoh55 opened this issue 3 years ago • 1 comments

I'm getting problems whenever I have a new line in my messages to my slack bot.

image

sngoh55 avatar Feb 17 '22 23:02 sngoh55

How do you send it to Watson?

New line should be replaced by this code: https://github.com/watson-developer-cloud/botkit-middleware/blob/master/src/index.ts#L148

This issue was fixed by https://github.com/watson-developer-cloud/botkit-middleware/pull/117 in 1.6.2 (4 years ago), is it possible that you are using an older version?

Naktibalda avatar Feb 19 '22 19:02 Naktibalda