From 27690daab3ef27acb4f6d00efb27fbe6b3abaa74 Mon Sep 17 00:00:00 2001 From: ravinderpal Date: Sun, 26 Apr 2015 18:09:22 +0200 Subject: [PATCH] =?UTF-8?q?assa=20non=20odia=20pi=C3=B9=20lucca=20e=20torn?= =?UTF-8?q?a=20a=20salutare=20col=20nome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/misc.coffee | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/misc.coffee b/scripts/misc.coffee index 310b80a..bb51f9f 100644 --- a/scripts/misc.coffee +++ b/scripts/misc.coffee @@ -26,7 +26,6 @@ module.exports = (robot) -> # Ringraziamenti ringr = ['prego :)', "non c'รจ di che", "faccio solo il mio lavoro", "no problemo amigo", "non fate complimenti ;)"] complim = ['bravo', 'grande', 'grandissimo', 'bella' ] - insult = ['vai via', 'sparisci', 'muori', 'stai zitto'] grazie = (res) -> robot.brain.set 'ringraziato', (robot.brain.get('ringraziato') or 0) + 1 res.send res.random ringr @@ -65,9 +64,6 @@ module.exports = (robot) -> res.send 'gg wp' robot.hear /bravo (.+)/i, (res)-> res.send res.random(complim)+' '+res.match[1] - robot.hear /(.+)/i, (res)-> - if res.message.user.username is '@ravinderpal_singh' - res.send res.random(insult)+' Lucca!' robot.respond /dove sei/i, (res) -> robot.http('http://canihazip.com/s') .get() (err, r, body) ->