input, not params (flashy)

This commit is contained in:
reality 2013-04-09 22:06:03 +00:00
parent 46028d6019
commit a129083826

View File

@ -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', {