Experiment with user-defined help intent

This commit is contained in:
GotPPay
2018-01-23 13:33:53 +01:00
parent 39b8e7608e
commit 7a5ddc6b52

View File

@@ -171,13 +171,9 @@ module.exports = {
console.log ('Help'); console.log ('Help');
}; };
handlers['AMAZON.NoIntent'] = function () { handlers.HelpIntent = function (){
console.log ('No'); console.log('Help');
}; }
handlers['AMAZON.YesIntent'] = function () {
console.log ('Yes');
};
//Default handlers for unknown questions and session close //Default handlers for unknown questions and session close