Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. const MarketOrderInProgressIntentHandler = {
  2. canHandle(handlerInput) {
  3. return Alexa.getRequestType(handlerInput.requestEnvelope) === 'IntentRequest'
  4. && Alexa.getIntentName(handlerInput.requestEnvelope) === 'MarketOrderIntent'
  5. && Alexa.getDialogState(handlerInput.requestEnvelope) !== 'COMPLETED';
  6. },
  7. handle(handlerInput) {
  8. return handlerInput.responseBuilder
  9. .addDelegateDirective()
  10. .getResponse();
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement