From e984d4da56359ef284b2369e6a2825b557a8d9a2 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 8 May 2015 19:33:03 +0200 Subject: [PATCH] Remove useless logging --- scripts/internamento.coffee | 1 - scripts/misc.coffee | 2 -- 2 files changed, 3 deletions(-) diff --git a/scripts/internamento.coffee b/scripts/internamento.coffee index b838bdc..b2f352e 100644 --- a/scripts/internamento.coffee +++ b/scripts/internamento.coffee @@ -40,7 +40,6 @@ module.exports = (robot) -> res.send res.random(exp1)+' '+name # Salvo chi ha internato mem[name] = { da: res.message.user } - console.log res.message.user, mem[name] robot.brain.set 'internati', mem robot.respond /libera (.+)/i, (res) -> diff --git a/scripts/misc.coffee b/scripts/misc.coffee index 20a7a99..fee1fe4 100644 --- a/scripts/misc.coffee +++ b/scripts/misc.coffee @@ -69,7 +69,6 @@ module.exports = (robot) -> .get() (err, r, body) -> res.send 'dovrei essere a ' + body robot.respond /con chi stai parlando/i, (res) -> - console.log res.message.user, res.message.room if res.message.user.name is res.message.room res.send 'sto parlando con te, '+res.message.user.name else @@ -79,7 +78,6 @@ module.exports = (robot) -> robot.respond /ti odio/i, (res) -> res.send 'ma cosa ti ho fatto di male '+(res.message.user.name or '')+'? :(' robot.hear /(?:ehi|ciao|we|(?:bella(?: li)?)) (?:asjon|assa|assion(?:i|e))/i, (res) -> - console.log res.match saluti = ['ciao', 'bella', 'è arrivato', 'eccolooo', 'dimmi', 'weeee', 'ehilà'] res.send res.random(saluti)+' '+res.message.user.name+'!' robot.respond /secret-kill-code/i, (res) -> process.exit 0