Shuo/lib/plugins/inputs/notice.js

8 lines
184 B
JavaScript
Raw Normal View History

2014-07-02 22:00:11 +00:00
module.exports = function(network, chan, cmd, args) {
if (cmd != "notice" || !args[1]) {
return;
}
var irc = network.irc;
irc.notice(args[0], args.slice(1).join(" "));
2014-06-26 23:05:47 +00:00
};