Hubot : how to pipeline your commands ?

If you got used to creating new commands in your Hubot server, you will probably remember of this syntax : robot.hear(/say hello/i, function(res) {/*...*/} robot.respond(/how are you/i, function(res) {/*...*/} When you want to combine then into one, the easy way out is to create a spare command like this one : robot.respond(/hello, how are you/i,… Read More »