forked from GitHub/dbot
string output for autoTitle
This commit is contained in:
parent
1f426fa722
commit
818f6937ef
@ -124,7 +124,7 @@ var link = function(dbot) {
|
|||||||
}
|
}
|
||||||
if(!handlerFound) {
|
if(!handlerFound) {
|
||||||
this.api.getTitle(urlMatches[0], function(title) {
|
this.api.getTitle(urlMatches[0], function(title) {
|
||||||
event.reply(title);
|
event.reply(dbot.t('link', { 'link': title } ));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user