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
When I directly message the bot, the message.text doesn't contain the bot's identity so this always condition always fails. I want to be able to DM the bot, and have wit.ai process the message.
The text was updated successfully, but these errors were encountered:
In
botkit-middleware-witai.js
, thereceive
function has this condition:message.text && message.text.indexOf(bot.identity.id) > -1)
When I directly message the bot, the
message.text
doesn't contain the bot's identity so this always condition always fails. I want to be able to DM the bot, and have wit.ai process the message.The text was updated successfully, but these errors were encountered: