Permalink
Browse files

Respond to more rules queries

  • Loading branch information...
Ian Young
Ian Young committed Nov 24, 2011
1 parent 1062772 commit 438178a446a2c3a4d295b308123bbeb39bb18f58
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/rules.coffee
View
@@ -16,7 +16,7 @@ otherRules = [
#
# the rules - Make sure hubot still knows the rules.
module.exports = (robot) ->
- robot.respond /(the rules|the laws)/i, (msg) ->
+ robot.respond /(what are )?the (three |3 )?(rules|laws)/i, (msg) ->
text = msg.message.text
if text.match(/apple/i) or text.match(/dev/i)
msg.send otherRules.join('\n')

0 comments on commit 438178a

Please sign in to comment.