Skip to content

Instantly share code, notes, and snippets.

@jkelvie
Last active November 9, 2017 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkelvie/de9a88b6b4d8e4891c5c451e9153696b to your computer and use it in GitHub Desktop.
Save jkelvie/de9a88b6b4d8e4891c5c451e9153696b to your computer and use it in GitHub Desktop.
Simple Jovo Reply
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