how i can get the user info, if i am saving it like:
var options = {
id: "45654676544",
name: "test",
last_name: "something"
}
Botkit.boot(options);
I want that the bot reply "Hello test" if i write
controller.hears('Caca','message_received', function(bot, message) {
bot.reply(message, ""+ message.user); //here i just get the id but is diferent
});
how i can get the user info, if i am saving it like: var options = { id: "45654676544", name: "test", last_name: "something" }
Botkit.boot(options);
I want that the bot reply "Hello test" if i write
controller.hears('Caca','message_received', function(bot, message) { bot.reply(message, ""+ message.user); //here i just get the id but is diferent });