Skip to content

Instantly share code, notes, and snippets.

@apoorvlathey
Created April 23, 2020 17:21
Show Gist options
  • Save apoorvlathey/e462aa8d9e8890705b2225ffa52769eb to your computer and use it in GitHub Desktop.
Save apoorvlathey/e462aa8d9e8890705b2225ffa52769eb to your computer and use it in GitHub Desktop.
exports.handler = Alexa.SkillBuilders.custom()
.addRequestHandlers(
LaunchRequestHandler,
FactsIntentHandler, //your custom intent
HelloWorldIntentHandler,
HelpIntentHandler,
CancelAndStopIntentHandler,
SessionEndedRequestHandler,
IntentReflectorHandler, // make sure IntentReflectorHandler is last so it doesn't override your custom intent handlers
)
.addErrorHandlers(
ErrorHandler,
)
.lambda();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment