Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synonyms support #32

Closed
andersonba opened this issue Nov 6, 2017 · 0 comments · Fixed by #33
Closed

synonyms support #32

andersonba opened this issue Nov 6, 2017 · 0 comments · Fixed by #33

Comments

@andersonba
Copy link
Owner

andersonba commented Nov 6, 2017

  • Should receive a string (comma-separated)
  • Should receive an array
  • Should store the option.value in output instead of synonym

Expected:

- ...
  type: SingleChoice
  options:
    - value: Yes
      synonyms: Yep, All right, Okay
    - value: No
      synonyms:
        - Bye
        - Really?
> bot: Yes or no?
> user: yep
// store: { confirmation: "Yes" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant