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

[TestBot] Configure different controllers for each type of bot #1924

Closed
ParadoxARG opened this issue May 21, 2019 · 0 comments · Fixed by #1946
Closed

[TestBot] Configure different controllers for each type of bot #1924

ParadoxARG opened this issue May 21, 2019 · 0 comments · Fixed by #1946

Comments

@ParadoxARG
Copy link
Contributor

Describe the solution you'd like

The TestBot has three possible bot configuration (EchoBot, DialogsBot, and DialogsAndWelcomeBot). The bot behavior is defined by an environment variable called chosenBot (see configuration).
We should have three different controllers, one for each type of bot, so when the user wants to use one type of behavior he just needs to connect to that bot's endpoint. With this change, the user will be able to use all the three types of bot without any change in the project configuration.

Describe alternatives you've considered

Create one controller for each type of Bot and make them available as different endpoints.

[enhancement]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant