From 3e4cb78813b7c14659510145015927f3bb73653b Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Wed, 28 May 2014 07:12:16 -0700 Subject: [PATCH] Added '/slap' command --- lib/server.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/server.js b/lib/server.js index 938ec5d..2965620 100644 --- a/lib/server.js +++ b/lib/server.js @@ -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]) {