9 lines
191 B
JavaScript
9 lines
191 B
JavaScript
exports.commands = ["ctcp"];
|
|
|
|
exports.input = function(network, chan, cmd, args) {
|
|
if (args.length > 1) {
|
|
var irc = network.irc;
|
|
irc.ctcpRequest(args[0], args.slice(1).join(" "));
|
|
}
|
|
};
|