Created
July 22, 2018 18:27
-
-
Save ankkal/616d0dbae18e511cea5f08b5a3bebc60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (handlerInput.requestEnvelope.context.System.user.accessToken === undefined) { | |
return handlerInput.responseBuilder | |
.speak("to start using this skill, please use the companion app to authenticate") | |
.reprompt("to start using this skill, please use the companion app to authenticate") | |
.withLinkAccountCard() | |
.getResponse(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment