thelounge/src/plugins/inputs/ctcp.js
2018-02-19 18:30:00 +02:00

10 lines
179 B
JavaScript

"use strict";
exports.commands = ["ctcp"];
exports.input = function({irc}, chan, cmd, args) {
if (args.length > 1) {
irc.ctcpRequest(args[0], args.slice(1).join(" "));
}
};