Skip to content

Instantly share code, notes, and snippets.

@cbira353
Created February 9, 2017 17:53
Show Gist options
  • Save cbira353/499eb0948e9738e006317a4bb0b2ccc2 to your computer and use it in GitHub Desktop.
Save cbira353/499eb0948e9738e006317a4bb0b2ccc2 to your computer and use it in GitHub Desktop.
// node.js
var handlers = {
'CustomIntent': function () {
// Code for the custom GetLocationIntent goes here.
},
'CustomIntentWithSlots': function () {
// Code for the custom GetLocationIntent goes here.
},
'AMAZON.SearchAction<object@WeatherForecast>': function () {
// Handler for the AMAZON.SearchAction<object@WeatherForecast> built-in intent.
},
'AMAZON.HelpIntent': function () {
// Code for the weather temperature handler goes here
},
'AMAZON.StopIntent': function () {
// Code for the weather condition handler goes here.
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment