mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
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