Add support for /kill

Fixes #3122
This commit is contained in:
Kramer Campbell 2019-03-16 12:57:24 -07:00
parent 036a2ffb4a
commit cff4f1ce2c
2 changed files with 12 additions and 0 deletions

View file

@ -53,6 +53,7 @@ const inputs = [
"ignore",
"invite",
"kick",
"kill",
"mode",
"nick",
"notice",

View file

@ -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;
};