From a129083826028eecfe7b144e0c51d28fa8cdb394 Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 9 Apr 2013 22:06:03 +0000 Subject: [PATCH] input, not params (flashy) --- modules/flashy/flashy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/flashy/flashy.js b/modules/flashy/flashy.js index 840311d..70c31fb 100644 --- a/modules/flashy/flashy.js +++ b/modules/flashy/flashy.js @@ -14,8 +14,8 @@ var flashy = function(dbot) { this.commands = { '~flashy': function(event) { - var colour = event.params[1]; - var text = event.params[2]; + var colour = event.input[1]; + var text = event.input[2]; if(_.has(this.colourMap, colour)) { dbot.t('url', {