alexa-js / alexa-app

A framework for Alexa (Amazon Echo) apps using Node.js
https://www.youtube.com/watch?v=pzM4jv7k7Rg
MIT License
1.03k stars 212 forks source link

How to send dialog.delegate directive #349

Open rajeevs960 opened 6 years ago

rajeevs960 commented 6 years ago

Hi, I have an intent songIntent which plays the requested song. I have a slot songname. if the songname is empty i need to send a dialog.delegate directive. How to send this directive?

matt-kruse commented 6 years ago

Just use .directive() and send the necessary json. There are no helper methods for this yet.

rajeevs960 commented 6 years ago

Thanks a lot. It worked.