🐞 fix: 修复cover发不出问题

This commit is contained in:
zhiyu1998 2024-10-17 18:38:09 +08:00
parent 50db5612cf
commit fac3eb4214

View File

@ -1970,7 +1970,7 @@ export class tools extends plugin {
`${this.identifyPrefix}识别:油管,视频下载中请耐心等待 \n视频标题:${title}${DIVIDING_LINE.replace('{}', '限制说明')}\n视频时长:${Duration}分钟\n大于管理员限定时长:${(this.youtubeDuration / 60).toFixed(2).replace(/\.00$/, '')} 分钟\n将截取限定时间部分`
]);
} else {
e.reply([segment.image(`${ path }/Thumbnail.png`),`${ this.identifyPrefix }识别:油管,视频下载中请耐心等待 \n视频标题:${ title }\n视频时长:${Duration} 分钟`]);
e.reply([segment.image(`${ path }/thumbnail.png`),`${ this.identifyPrefix }识别:油管,视频下载中请耐心等待 \n视频标题:${ title }\n视频时长:${Duration} 分钟`]);
}
await ytDlpHelper(path, url, isOversea, this.myProxy, true, graphics, timeRange);
this.sendVideoToUpload(e, `${ path }/temp.mp4`);