fix: build

This commit is contained in:
手瓜一十雪
2024-09-12 00:17:35 +08:00
parent 5353c464e3
commit 9ae7afd8cb
3 changed files with 19 additions and 13 deletions

View File

@@ -483,8 +483,6 @@ export class OneBotMsgApi {
if (uri2LocalRes.success) thumb = uri2LocalRes.path;
}
const videoEle = await this.core.apis.FileApi.createValidSendVideoElement(context, path, fileName, thumb);
context.deleteAfterSentFiles.push(videoEle.videoElement.filePath);
return videoEle;
},