commit
fc2b8d94e1
|
@ -53,6 +53,7 @@ const inputs = [
|
||||||
"ignore",
|
"ignore",
|
||||||
"invite",
|
"invite",
|
||||||
"kick",
|
"kick",
|
||||||
|
"kill",
|
||||||
"mode",
|
"mode",
|
||||||
"nick",
|
"nick",
|
||||||
"notice",
|
"notice",
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
exports.commands = ["kill"];
|
||||||
|
|
||||||
|
exports.input = function({irc}, chan, cmd, args) {
|
||||||
|
if (args.length !== 0) {
|
||||||
|
irc.raw("KILL", args[0], args.slice(1).join(" "));
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
};
|
Loading…
Reference in New Issue