Permalink
Browse files

document .finish() behavior

  • Loading branch information...
1 parent 1737347 commit 40fab0352ff03c9058450319126fd0eeb4b9df40 @atmos atmos committed Dec 24, 2011
Showing with 14 additions and 0 deletions.
  1. +14 −0 CHANGELOG.md
View
14 CHANGELOG.md
@@ -1,3 +1,17 @@
+v2.1.0
+======
+* Introduce Response.finish() to indicate that a message should not be
+ passed on to any other listeners
+* Scripts are evaluated in the following order
+ * `./scripts` is loaded alphabetically
+ * The contents of `./hubot-scripts.json` is loaded in order
+
+ module.exports = (robot) ->
+ robot.respond /\s*yo\s*\\?/i, (msg) ->
+ msg.reply "Yo!"
+ msg.finish()
+
+
v2.0.7
======
* Update topic and logger scoping fixups - Horace Ko

0 comments on commit 40fab03

Please sign in to comment.