Skip to content

Instantly share code, notes, and snippets.

@jhegele
Created July 17, 2017 16:05
Show Gist options
  • Save jhegele/47326e03804af91674f396c2fc688edc to your computer and use it in GitHub Desktop.
Save jhegele/47326e03804af91674f396c2fc688edc to your computer and use it in GitHub Desktop.
'GoOutIntent': function () {
getWeather( (weatherData) => {
let say = `The high temperature will be ${weatherData.temp} in ${weatherData.city} and conditions are forecast to be ${weatherData.conditions}.`;
this.emit(':tell', say, say);
// getWordsmithNarrative({data: weatherData}, (say) => {
// this.emit(':tell', say, say);
// })
});
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment