Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const MarketOrderInProgressIntentHandler = {
- canHandle(handlerInput) {
- return Alexa.getRequestType(handlerInput.requestEnvelope) === 'IntentRequest'
- && Alexa.getIntentName(handlerInput.requestEnvelope) === 'MarketOrderIntent'
- && Alexa.getDialogState(handlerInput.requestEnvelope) !== 'COMPLETED';
- },
- handle(handlerInput) {
- return handlerInput.responseBuilder
- .addDelegateDirective()
- .getResponse();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement