Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/Surface.js Secret
Last active Sep 20, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.