Skip to content

Instantly share code, notes, and snippets.

@kevinl95
Created Jan 12, 2017
Embed
What would you like to do?
function output( text, context ) {
var response = {
outputSpeech: {
type: "PlainText",
text: text
},
card: {
type: "Simple",
title: "Thornton Windchill",
content: text
},
shouldEndSession: true
};
context.succeed( { response: response } );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment