Merge pull request #3123 from kramerc/kill-cmd

Add support for /kill
This commit is contained in:
Pavel Djundik 2019-03-16 22:20:03 +02:00 committed by GitHub
commit fc2b8d94e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
};