Skip to content

Instantly share code, notes, and snippets.

@fhenri42
Last active December 14, 2016 12:53
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 fhenri42/c1d271b484aa1d564eee18bb1490723f to your computer and use it in GitHub Desktop.
Save fhenri42/c1d271b484aa1d564eee18bb1490723f to your computer and use it in GitHub Desktop.
choseTraing()
/* send back the quick reply to make the good choose*/
function choseTraing() {
return [{
type: 'text',
content: 'Great choice! I just received a message from an old jedi living as a hermit on the planet Dagobah, looking for a new padawan!',
}, {
type: 'quickReplies',
content: {
title: 'Do you want to go on Dagobah to meet him? Or use your new ship to explore space?',
buttons: [
{
type: 'text',
title: 'fly to Dagobah',
value: 'fly to Dagobah',
}, {
type: 'text',
title: 'Travel to space',
value: 'Travel to space',
},
],
},
},
]
}
module.exports = choseTraing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment