botkit-middleware
botkit-middleware copied to clipboard
Slack Integration with IBM Watson Assistant won't accept new line in user queries.
I'm getting problems whenever I have a new line in my messages to my slack bot.

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?