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

"next : question_name" doesn't work when passed as a rule from bot.talk() #200

Closed
vishalvrv9 opened this issue Apr 28, 2021 · 0 comments
Closed

Comments

@vishalvrv9
Copy link

The below snippet doesn't trigger the next rule. The questionName would be defined in rules.json in this case.

const message = 'Some message';
const rule = [{
            message: 'message inside rule',
            delay: 4000,
            next: "questionName"
        }];
bot.talk(message, rule);

Let me know if more details are required.

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

No branches or pull requests

1 participant