forked from GitHub/dbot
lets try that
This commit is contained in:
parent
9369fd8d05
commit
4537651367
@ -39,8 +39,8 @@ var youtube = function(dbot) {
|
|||||||
'seconds': seconds
|
'seconds': seconds
|
||||||
});
|
});
|
||||||
|
|
||||||
var link = v.link[0].href.match(this.LinkRegex)
|
var link = v.link[0].href.match(this.LinkRegex);
|
||||||
if(!_.isUndefined(link)) {
|
if(link) {
|
||||||
res += ' - http://youtu.be/' + link[2];
|
res += ' - http://youtu.be/' + link[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user