mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 11:42:36 +01:00
lets try that
This commit is contained in:
parent
9369fd8d05
commit
4537651367
@ -39,8 +39,8 @@ var youtube = function(dbot) {
|
||||
'seconds': seconds
|
||||
});
|
||||
|
||||
var link = v.link[0].href.match(this.LinkRegex)
|
||||
if(!_.isUndefined(link)) {
|
||||
var link = v.link[0].href.match(this.LinkRegex);
|
||||
if(link) {
|
||||
res += ' - http://youtu.be/' + link[2];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user