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');
};
handlers['AMAZON.NoIntent'] = function () {
console.log ('No');
};
handlers['AMAZON.YesIntent'] = function () {
console.log ('Yes');
};
handlers.HelpIntent = function (){
console.log('Help');
}
//Default handlers for unknown questions and session close