Comparing version 1.1.9 to 1.1.10
@@ -80,2 +80,3 @@ var sys = require( 'sys' ) | ||
{ say: _privmsg_protected.bind( this, source ) | ||
, msg: _privmsg_protected.bind( this, message.person.nick ) | ||
, match_data: md | ||
@@ -82,0 +83,0 @@ , user: message.person.nick |
@@ -9,3 +9,3 @@ { "name" : "jerk" | ||
, "homepage" : "http://github.com/gf3/Jerk" | ||
, "version" : "1.1.9" | ||
, "version" : "1.1.10" | ||
, "main" : "./lib/jerk" | ||
@@ -12,0 +12,0 @@ , "dependencies" : |
@@ -62,6 +62,7 @@ # Jerk | ||
, say: Function( message ) | ||
, msg: Function( message ) | ||
} | ||
``` | ||
One thing I will tell you though, is the `say` method is smart enough to reply to the context that the message was received, so you don't need to pass it any extra info, just a reply :) | ||
One thing I will tell you though, is the `say` method is smart enough to reply to the context that the message was received, so you don't need to pass it any extra info, just a reply :) However, the `msg` method can be used if you'd like to force sending a message directly to a user (aka a PM). | ||
@@ -68,0 +69,0 @@ The `connect` method returns an object with some handy methods that you can use outside of your `watch_for`s: |
672859
19043
122