Closed pyropeter closed 12 years ago
It would be useful to know properties of the irc-js instance at times:
j.watch_for(/^(.*?): leave/i, function (msg) { if (msg.match_data[1] == j.bot.options.nick) j.part(msg.source); });
At the moment, one has to call e.g. jerkinstance.say("", "foo") to get a reference to the underlying irc-js layer.
jerkinstance.say("", "foo")
So you'd like direct access to bot?
bot
Exactly.
Maybe bot could be made the return value of jerk().connect()?
jerk().connect()
It would be useful to know properties of the irc-js instance at times:
At the moment, one has to call e.g.
jerkinstance.say("", "foo")
to get a reference to the underlying irc-js layer.