Permalink
Browse files

Fixed readme, and some non-determinism in escalation and roles scripts

  • Loading branch information...
1 parent b49748f commit d2f706dfd9e6af0f110420d7484800a86477ba0d Joe DeVivo committed Mar 13, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 README.md
  2. +2 −0 scripts/roles.coffee
View
@@ -12,7 +12,7 @@ Basho-specific scripts that you may or may not find useful.
3. Use homebrew to install redis: brew install redis
4. run npm install
5. run redis: redis-server /usr/local/etc/redis.conf
-6. run ./bin/hubot
+6. run ./bin/hubot-dev
# Custom Scripts
View
@@ -20,6 +20,8 @@ module.exports = (robot) ->
msg.send "Who ain't I?"
else if name is robot.name
msg.send "The best."
+ else if name.toLowerCase() is "on-call" or name.toLowerCase() is "on call"
+ # nothing
else
users = robot.usersForFuzzyName(name)
if users.length is 1

0 comments on commit d2f706d

Please sign in to comment.