forgot event.reply (flashy)

This commit is contained in:
reality 2013-04-09 22:07:11 +00:00
parent a129083826
commit 381a78e311

View File

@ -18,11 +18,11 @@ var flashy = function(dbot) {
var text = event.input[2]; var text = event.input[2];
if(_.has(this.colourMap, colour)) { if(_.has(this.colourMap, colour)) {
dbot.t('url', { event.reply(dbot.t('url', {
'host': dbot.config.web.webHost, 'host': dbot.config.web.webHost,
'port': dbot.config.web.webPort, 'port': dbot.config.web.webPort,
'path': 'flashy/' + colour + '/' + encodeURIComponent(text) 'path': 'flashy/' + colour + '/' + encodeURIComponent(text)
}); }));
} else { } else {
event.reply('no such colour brah'); event.reply('no such colour brah');
} }