Send message feature #11

Merged
senaduka merged 32 commits from send-message-feature into master 2018-01-23 12:20:02 +01:00
Showing only changes of commit dc2c8f384e - Show all commits

View File

@@ -34,7 +34,7 @@ module.exports = {
destinationEmail = activeSkill.contactEmail;
let listOfPossibleQuestions = '';
activeSkill.intents.map (intent => {
activeSkill.intents.forEach(intent => {
if (intent.questions.length > 0 && intent.intentExplanation) {
listOfPossibleQuestions +=
intent.intentExplanation +
@@ -45,6 +45,8 @@ module.exports = {
}
});
console.log(listOfPossibleQuestions);
//Handler for launch requestconsole.log()
handlers = {
LaunchRequest: function () {