Last active
November 9, 2017 17:27
-
-
Save jkelvie/de9a88b6b4d8e4891c5c451e9153696b to your computer and use it in GitHub Desktop.
Simple Jovo Reply
This file contains 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
const repromptMessage = 'Ask me which number of pokemon you want to know about'; | |
const errorMessage = 'There was an error with your request, please try again'; | |
const goodbyeMessage = 'Thank you for using my pokedex! Remember to catch them all!'; | |
const pikachuAudio = 'https://s3.us-east-2.amazonaws.com/diego-bst-generalbucket/pikachu.mp3'; | |
const handlers = { | |
'LAUNCH': function () { | |
var welcome = 'Welcome to my pokedex. ' + repromptMessage; | |
app.ask(welcome, repromptMessage); | |
}, | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment