Skip to content

Commit

Permalink
Update Echobot and Empty samples to include a greeting template (micr…
Browse files Browse the repository at this point in the history
…osoft#2836)

Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
  • Loading branch information
cwhitten and beyackle authored Apr 29, 2020
1 parent bc2a182 commit 76ae512
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
12 changes: 11 additions & 1 deletion Composer/packages/server/assets/projects/EchoBot/echobot.dialog
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,17 @@
"id": "641773",
"name": "Branch: if/else"
},
"condition": "string(dialog.foreach.value.id) != string(turn.Activity.Recipient.id)"
"condition": "string(dialog.foreach.value.id) != string(turn.Activity.Recipient.id)",
"actions": [
{
"$kind": "Microsoft.SendActivity",
"$designer": {
"id": "859266",
"name": "Send a response"
},
"activity": "${help()}"
}
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# help
- Welcome to the EchoBot sample.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
"id": "641773",
"name": "Branch: if/else"
},
"condition": "string(dialog.foreach.value.id) != string(turn.Activity.Recipient.id)"
"condition": "string(dialog.foreach.value.id) != string(turn.Activity.Recipient.id)",
"actions": [
{
"$kind": "Microsoft.SendActivity",
"$designer": {
"id": "859266",
"name": "Send a response"
},
"activity": "${help()}"
}
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# help
- Welcome to the EmptyBot sample

0 comments on commit 76ae512

Please sign in to comment.