diff --git a/backend/models/alexa.js b/backend/models/alexa.js
index 3301a8e..87d1b95 100644
--- a/backend/models/alexa.js
+++ b/backend/models/alexa.js
@@ -39,7 +39,9 @@ module.exports = {
listOfPossibleQuestions +=
intent.intentExplanation +
intent.questions[0] +
- '';
+ '';
}
});
@@ -47,13 +49,22 @@ module.exports = {
handlers.NewSession = function () {};
+ handlers['AMAZON.HelpIntent'] = function () {
+ console.log ('Help intent');
+ this.response
+ .speak (listOfPossibleQuestions)
+ .listen (constants.voiceResponseStrings.GENERIC_CONTINUE); //Phrase from listen doesn't work !!!
+ };
+
//Handler for launch request
handlers = {
LaunchRequest: function () {
this.response
.speak (
activeSkill.invocationAnswer +
- '' +
+ '' +
listOfPossibleQuestions
)
.listen (constants.voiceResponseStrings.GENERIC_CONTINUE); //Phrase from listen doesn't work !!!