Last active
April 23, 2018 22:30
-
-
Save danoventa/d23b9b696a4669c85e151c28b49a6460 to your computer and use it in GitHub Desktop.
Point of contact for the Alexa App
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
'use strict'; | |
const Alexa = require('alexa-sdk'); | |
const constants = require('constants'); | |
const rootHandler = require('rootHandler'); | |
const otherHandler = require('otherHandler'); | |
exports.handler = function(event, context, callback){ | |
let alexa = Alexa.handler(event, context); | |
alexa.appId = constants.appId; | |
alexa.registerHandlers(rootHandler, otherHandler); | |
alexa.execute(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment