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

Types for binding static text responses to topics #19

Closed
manthanhd opened this issue Oct 29, 2016 · 0 comments
Closed

Types for binding static text responses to topics #19

manthanhd opened this issue Oct 29, 2016 · 0 comments
Assignees

Comments

@manthanhd
Copy link
Owner

manthanhd commented Oct 29, 2016

This will allow people to have a static responses set for topcis like help, hello etc.

Currently, I'm imagining this to be a wrapper around the skill class, similar to how SingleLineMessage and MultiLineMessage classes work.

Implementation might look like this:

var staticSkill = new StaticResponseSkill('help', 'I can help you with many things like booking an appointment, checking mail etc');
bot.addSkill(staticSkill);
@manthanhd manthanhd self-assigned this Oct 30, 2016
@manthanhd manthanhd mentioned this issue Oct 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant