Hi
I try to call a Intent EventCategoryIntent, form NoIntent and states.
after many suggestion, i want ask to user wich category he want.
here code, instead of triggered EventCategoryIntent, UndledManager was triggered
EventCategoryIntent() {
if( this.$inputs.category.value == 'famille')
console.log("famille")
},
eventState: {
NoIntent() {
let speech = events.title(this.$session.$data.index++);
this.ask(speech, "well ?");
if (this.$session.$data.limitForSuggest === 0) {
let msg = suggestCategory();
let speech = "oups, voici les categories : " + msg;
this.ask(speech, "veuillez choisir une categorie");
this.$session.$data.limitForSuggest = 3;
} else {
this.$session.$data.limitForSuggest--;
}
},
Unhandled() {
return this.LAUNCH();
},
},