Hi,
I have just tested the simple Jabber Bot that is included as an example in the "Working with the Cisco Jabber Bot SDK" chapter of the Developer Guide (https://developer.cisco.com/docs/jabber-bots/#!cisco-jabber-bot-sdk-developer-guide/working-with-the-cisco-jabber-bot-sdk).
The bot can login and I can even interact with it except if I type "hi", then the bot exists with this error:
/usr/lib/node_modules/botkit/lib/Studio.js:832
user: md5(message.user),
^
TypeError: Cannot read property 'user' of undefined
at /usr/lib/node_modules/botkit/lib/Studio.js:832:34
at /usr/lib/node_modules/botkit/lib/CoreBot.js:1409:56
at next (/usr/lib/node_modules/botkit/node_modules/ware/lib/index.js:82:27)
at Ware.run (/usr/lib/node_modules/botkit/node_modules/ware/lib/index.js:88:3)
at Object.Botkit.botkit.trigger (/usr/lib/node_modules/botkit/lib/CoreBot.js:1407:45)
at /usr/lib/node_modules/botkit/lib/CoreBot.js:1349:36
at next (/usr/lib/node_modules/botkit/node_modules/ware/lib/index.js:82:27)
at Ware.run (/usr/lib/node_modules/botkit/node_modules/ware/lib/index.js:88:3)
at Object.<anonymous> (/usr/lib/node_modules/botkit/lib/CoreBot.js:1347:49)
at Object.Botkit.botkit.trigger (/usr/lib/node_modules/botkit/lib/CoreBot.js:1396:47)
Could anyone help me to understand why it fails?
Thanks!
fj