-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I made a simple "survey" type bot, but the conditionals logic doesn't seem to work like expected. .bot script is here:
https://github.com/dcsan/botml/blob/master/examples/survey.bot
I run it with
nodemon --ext js,bot lib/cli.js examples/survey.bot
~ survey
< OK lets go
~ [color]
~ [age]
# ~ [name]
# ~ [birthplace]
< OK thanks!
~ [status]
~ color
< What's your favorite color?
> *{color}
---
> purple
< Do you like Prince?
---
> blue
< Don't be sad!
---
< OK you like ${color}
but I get a result like this on running it:
< OK lets go
< What's your favorite color?
> red
< Do you like Prince?
>
Metadata
Metadata
Assignees
Labels
No labels