forked from GitHub/dbot
forgot event.reply (flashy)
This commit is contained in:
parent
a129083826
commit
381a78e311
@ -18,11 +18,11 @@ var flashy = function(dbot) {
|
||||
var text = event.input[2];
|
||||
|
||||
if(_.has(this.colourMap, colour)) {
|
||||
dbot.t('url', {
|
||||
event.reply(dbot.t('url', {
|
||||
'host': dbot.config.web.webHost,
|
||||
'port': dbot.config.web.webPort,
|
||||
'path': 'flashy/' + colour + '/' + encodeURIComponent(text)
|
||||
});
|
||||
}));
|
||||
} else {
|
||||
event.reply('no such colour brah');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user