theBenForce / lambda-bot

A wrapper to make API.AI webhooks on AWS Lambda.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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();

About

A wrapper to make API.AI webhooks on AWS Lambda.

License:MIT License


Languages

Language:JavaScript 100.0%