1.0.0 • Published 8 years ago
NasimBotPlatform v1.0.0
var nasimbotplatform = require("nasimbotplatform");
var TextMessage = nasimbotplatform.TextMessage;
var NasimBot = nasimbotplatform.NasimBot;
var myBot = new NasimBot("YOUR_TOKEN");
myBot.hears(['hi'], function (res) {
res.reply(new TextMessage("Hello!"));
});
1.0.0
8 years ago