Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Last active September 20, 2017 20:34
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 hitherejoe/79d1d21df44a0639937c3b103a721d7a to your computer and use it in GitHub Desktop.
Save hitherejoe/79d1d21df44a0639937c3b103a721d7a to your computer and use it in GitHub Desktop.
if (app.hasSurfaceCapability(app.SurfaceCapabilities.SCREEN_OUTPUT)) {
return app.ask(app.buildRichResponse()
.addSimpleResponse('The ' + input + ' chord can be played like this. ' + strings.general.whatNext)
.addBasicCard(app.buildBasicCard(buildString(chord))
.setTitle('The ' + input + ' chord')
.setImage('https://github.com/hitherejoe/Fret/blob/master/functions/images/' + input + '.png?raw=true', 'The ' + input + ' chord')));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment