Skip to content

Commit

Permalink
Merge pull request #97 from ardani/master
Browse files Browse the repository at this point in the history
fix example regex using array
  • Loading branch information
mose committed Oct 5, 2017
2 parents fcc2873 + 4130a6e commit 2e04819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/templates/scripts/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = (robot) => {
//
// const lulz = ['lol', 'rofl', 'lmao']
//
// robot.respond(/lulz/i, (res) => {
// robot.respond(`/${lulz.join('|')}/i`, (res) => {
// res.send(res.random(lulz))
// })
//
Expand Down

0 comments on commit 2e04819

Please sign in to comment.