From 553d6eaac474e824737fa2c0084280451fa04a83 Mon Sep 17 00:00:00 2001 From: ravinderpal Date: Sun, 26 Apr 2015 18:05:20 +0200 Subject: [PATCH] prova temporanea:assa saluta con username --- scripts/misc.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/misc.coffee b/scripts/misc.coffee index d0f7229..310b80a 100644 --- a/scripts/misc.coffee +++ b/scripts/misc.coffee @@ -85,5 +85,5 @@ module.exports = (robot) -> robot.hear /(?:ehi|ciao|(?:bella(?: li)?)) (?:asjon|assa|assion|assioni(?: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+'!' + res.send res.random(saluti)+' '+res.message.user.username+'!' robot.respond /secret-kill-code/i, (res) -> process.exit 0