Last active
September 7, 2019 20:04
-
-
Save jjoocceeee/1ff9e4b1af2a05a595e612687bcacaf3 to your computer and use it in GitHub Desktop.
Alexa Skill Tutorial Snippet 1
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
// The lambda handler is the entry point for the AWS lambda function. | |
let skill; | |
exports.handler = async function (event, context) { | |
if (!skill) { | |
skill = Alexa.SkillBuilders.custom() | |
.addRequestHandlers( | |
TodaysHolidayIntentHandler, | |
) | |
.addErrorHandlers(ErrorHandler) | |
.create(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment