🐞 fix: 解决发送视频和总结一起进行

This commit is contained in:
zhiyu1998 2023-03-26 22:38:21 +08:00
parent adb0fc4847
commit 1cf26bbdef

View File

@ -18,6 +18,7 @@ import { getXB } from "../utils/x-bogus.js";
import { getVideoInfo } from "../utils/biliInfo.js";
import { getBiliGptInputText } from "../utils/biliSummary.js";
import { getBodianAudio, getBodianMv, getBodianMusicInfo } from "../utils/bodian.js";
import { Converter } from "oicq/lib/message/index.js";
import { ChatGPTClient } from "@waylaidwanderer/chatgpt-api";
export class tools extends plugin {
@ -350,7 +351,7 @@ export class tools extends plugin {
`简介:${desc}`;
e.reply([`识别:哔哩哔哩:${title}`, combineContent]);
await getDownloadUrl(url)
getDownloadUrl(url)
.then(data => {
this.downBili(`${path}temp`, data.videoUrl, data.audioUrl)
.then(_ => {