Skip to content

Instantly share code, notes, and snippets.

@jkeefe
Created September 6, 2016 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkeefe/2e61f4a4ff1c25b09020ff27525d9f74 to your computer and use it in GitHub Desktop.
Save jkeefe/2e61f4a4ff1c25b09020ff27525d9f74 to your computer and use it in GitHub Desktop.
Example index.html file for a lambda-Twilio bot.
// question-bot!
var twilio = require('twilio');
var mongodb = require('mongodb');
module.exports = function(request) {
return new Promise(function(fulfill, reject){
// functional code goes in here
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment