From c4307481f1360cc76645ff746ff7a399682d375b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 9 Jun 2024 19:47:16 +0800 Subject: [PATCH] build: 1.5.3-beta4 --- src/onebot11/constructor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/constructor.ts b/src/onebot11/constructor.ts index dc835ff5..cc5df4dc 100644 --- a/src/onebot11/constructor.ts +++ b/src/onebot11/constructor.ts @@ -192,7 +192,7 @@ export class OB11Constructor { else if (element.videoElement || element.fileElement) { const videoOrFileElement = element.videoElement || element.fileElement; const ob11MessageDataType = element.videoElement ? OB11MessageDataType.video : OB11MessageDataType.file; - let videoDownUrl = NTQQFileApi.getVideoUrl(msg, element); + let videoDownUrl = await NTQQFileApi.getVideoUrl(msg, element); message_data['type'] = ob11MessageDataType; message_data['data']['file'] = videoOrFileElement.fileName; message_data['data']['path'] = videoDownUrl;