Skip to content

Instantly share code, notes, and snippets.

@jjoocceeee
Last active September 7, 2019 20:04
Show Gist options
  • Save jjoocceeee/1ff9e4b1af2a05a595e612687bcacaf3 to your computer and use it in GitHub Desktop.
Save jjoocceeee/1ff9e4b1af2a05a595e612687bcacaf3 to your computer and use it in GitHub Desktop.
Alexa Skill Tutorial Snippet 1
// 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