forked from GitHub/dbot
fix for below one minite
This commit is contained in:
parent
25347f9006
commit
5bf1e24d02
@ -33,7 +33,8 @@ var youtube = function(dbot) {
|
|||||||
var seconds =((time[2]%60 < 10) ? "0"+time[2]%60 : time[2]%60),
|
var seconds =((time[2]%60 < 10) ? "0"+time[2]%60 : time[2]%60),
|
||||||
minutes = time[1];
|
minutes = time[1];
|
||||||
} else {
|
} else {
|
||||||
seconds =((time[1]%60 < 10) ? "0"+time[1]%60 : time[1]%60);
|
var seconds =((time[1]%60 < 10) ? "0"+time[1]%60 : time[1]%60),
|
||||||
|
minutes = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
var res = dbot.t('yt_video', {
|
var res = dbot.t('yt_video', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user