alexa / alexa-skills-kit-sdk-for-nodejs

The Alexa Skills Kit SDK for Node.js helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
Apache License 2.0
3.12k stars 736 forks source link

confirmIntentWithCard works, but not confirmIntent #149

Closed klunghamer closed 6 years ago

klunghamer commented 7 years ago

Hi, I was working the confirm intent directive, and could only get the ':confirmIntentWithCard' directive to work, not ':confirmIntent'. The speechOutput and repromptSpeech were identical between the two tries.

the format that was not working was: this.emit(':confirmIntent', speechOutput, repromptSpeech, updatedIntent); I tried using this.event.request.intent for updatedIntent, as well as the intent name as a string.

please let me know if you have any questions with my issue.

ysak-y commented 7 years ago

In SDK, confirmIntent looks no problem. https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/blob/master/lib/response.js#L172-L184

Please tell me invalid response or error message if you can.