Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Last active September 20, 2017 20:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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