Last active
August 14, 2019 16:49
-
-
Save RSamaium/cff7ade68e5e53cb78a13004d89c6b68 to your computer and use it in GitHub Desktop.
Main conversational script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$name = '' | |
@Event('start') | |
start() { | |
> Hi, I'm PizzaBot. I can order you pizzas :) | |
> What is your name? | |
Prompt() | |
$name = :text | |
@Format('quickReplies', ['Order a pizza']) | |
> What do you want to do, { $name }? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment