-
Notifications
You must be signed in to change notification settings - Fork 58
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
Random response when multiple rules have same trigger #63
Comments
Extension of this issue: support multiple rules. Could we just allow multiple rules to match on the same input and both run on the input? Ideally, we could also support a flag in the .yml config file that allows or disables this feature for a given rule, something like |
yea, i think it's that or go the other way.. print a warning that it detected duplicate rule names and execute neither. |
How about this? By default, we don't stop finding matches after one is found. That means, if there are multiple rules matched, they will all execute. (basically what @mackenziegrimes was saying). In addition, we add something like |
Report
What did you do?
Added multiple rules with different file names, but had the same
respond
keyword.What did you expect to happen?
Warn that you have multiple rules with the same
respond
.What happened instead?
Rules are randomly triggered without notification to the bot.
The text was updated successfully, but these errors were encountered: