mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 14:44:13 +00:00
commit
fc2b8d94e1
2 changed files with 12 additions and 0 deletions
|
@ -53,6 +53,7 @@ const inputs = [
|
|||
"ignore",
|
||||
"invite",
|
||||
"kick",
|
||||
"kill",
|
||||
"mode",
|
||||
"nick",
|
||||
"notice",
|
||||
|
|
11
src/plugins/inputs/kill.js
Normal file
11
src/plugins/inputs/kill.js
Normal 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;
|
||||
};
|
Loading…
Reference in a new issue