slack-ruby-bot
slack-ruby-bot copied to clipboard
If there are multiple matching scan definitions - only one is triggered when all matching should be triggered
If there are multiple matching scan definitions - only one is selected. This is bad because someone may say something that should match multiple scanning rules. In my case matching multiple mentions of different things - say I have one scan rules for "fruits" and another for "vegetables" and I like all to be expanded irrespective of the order they are entered by the user.
To solve this, I had to handle all possible scans in one and the same scan entry.
Would love this implemented to match all scans, as well as allowing us to toggle the behavior.