palmerabollo / botbuilder-aws-lambda

Helper to deploy your bot as a serverless function (AWS Lambda)
Apache License 2.0
9 stars 1 forks source link
aws-lambda bot botbuilder-sdk chatbot serverless

botbuilder-aws-lambda

Deploy your Microsoft Bot as an AWS Lambda function.

const botbuilder = require('botbuilder');
const lambda = require('botbuilder-aws-lambda');

let connector = new builder.ChatConnector({
    appId: process.env.MICROSOFT_APP_ID,
    appPassword: process.env.MICROSOFT_APP_PASSWORD
});

exports.handler = lambda(connector); // MAGIC HAPPENS HERE

let bot = new builder.UniversalBot(connector);

LICENSE

Apache 2.0