I don't remember how this worked in slack, but at the very basic functionality you should be able to give it a word or phrase, and then some associated response. Then whenever the bot sees a message that matches the word or phrase for one of the triggers, it will send a message containing the associated response.
Perhaps the trigger itself could accept regex?
This command should probably only be able to be invoked by an admin.
I don't remember how this worked in slack, but at the very basic functionality you should be able to give it a word or phrase, and then some associated response. Then whenever the bot sees a message that matches the word or phrase for one of the triggers, it will send a message containing the associated response.
Perhaps the trigger itself could accept regex?
This command should probably only be able to be invoked by an admin.