Commit 5d527dc3 authored by Eric Meier's avatar Eric Meier

merge commit

parent c90a5871
......@@ -4,7 +4,7 @@ var answers = require("../speech/answers");
module.exports = [
function(session, args, next) {
if (!session.currentArticle) {
session.send(answers.formatedRandomAnswer("continue", ""));
session.send(answers.formatedRandomAnswer("continue", []));
}
session.replaceDialog(
......
......@@ -28,7 +28,11 @@ module.exports = [
session.dialogData.topic = session.dialogData.topic || args.response;
if (!session.dialogData.skillLevel) {
const choices = ["Nothing", "Something", "A lot"];
const choices = [
"I'm a beginner",
"I have some experience",
"I'm a pro"
];
const reply = new builder.Message(session).addAttachment(
diffCard(session, choices)
......
......@@ -32,6 +32,7 @@ module.exports = [
session.send(
answers.formatedRandomAnswer("name.update", [results.response])
);
session.userData.name = results.response;
session.endDialog();
}
......
......@@ -73,5 +73,6 @@
"not_found": [
"I'm really sorry, but I cant remember me about our last topic."
]
}
},
"intro": [""]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment