Created
March 6, 2017 21:50
-
-
Save jkeefe/a89f22da675e2497dc94e5a96554e09c to your computer and use it in GitHub Desktop.
Example bot.js file for Alexa integration with claudio-bot-builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from https://claudiajs.com/news/2016/11/22/claudia-bot-builder-2.7.1-alexa-skills.html | |
// The list of platform names can include: | |
// facebook, slackSlashCommand, telegram, skype, twilio, kik, groupme, viber, alexa. | |
const botBuilder = require('claudia-bot-builder'); | |
module.exports = botBuilder(function (message, originalApiRequest) { | |
return `I got ${message.text}`; | |
}, { platforms: ['alexa'] }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment