Added '/slap' command
This commit is contained in:
parent
276db34c34
commit
3e4cb78813
|
@ -164,12 +164,14 @@ function input(data) {
|
|||
}
|
||||
break;
|
||||
|
||||
case "slap":
|
||||
var slap = "slaps " + args[1] + " around a bit with a large trout";
|
||||
case "me":
|
||||
if (!args[1]) {
|
||||
break;
|
||||
}
|
||||
var user;
|
||||
var text = args.slice(1).join(" ");
|
||||
var text = slap || args.slice(1).join(" ");
|
||||
if (client) {
|
||||
user = client.me;
|
||||
client.action(chan.name, text);
|
||||
|
@ -213,10 +215,6 @@ function input(data) {
|
|||
);
|
||||
break;
|
||||
|
||||
case "ame":
|
||||
console.log("AME");
|
||||
break;
|
||||
|
||||
case "server":
|
||||
case "connect":
|
||||
if (args[1]) {
|
||||
|
|
Loading…
Reference in New Issue