1.1.2 • Published 7 years ago
lambda-bot v1.1.2
lambda-bot
A wrapper to make API.AI webhooks on AWS Lambda.
Here's a simple example:
const LambdaBot = require('lambda-bot');
const bot = new LambdaBot();
bot.setAction('hello.world', (app) => {
app.tell('Hello from AWS Lambda!');
});
exports.handler = bot.handler();