From dc19009e2a6918a3d83ace8abc99a55e24632d0f Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Sat, 21 Oct 2023 16:06:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20getUin=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/uploadRecord.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/uploadRecord.js b/utils/uploadRecord.js index 98d650b..f689537 100644 --- a/utils/uploadRecord.js +++ b/utils/uploadRecord.js @@ -139,7 +139,7 @@ async function uploadRecord (recordUrl, ttsMode = 'vits-uma-genshin-honkai') { 2: 3, 5: { 1: Contactable.target, - 2: getUin(e), + 2: getUin(), 3: 0, 4: hash, 5: buf.length, @@ -183,7 +183,7 @@ async function uploadRecord (recordUrl, ttsMode = 'vits-uma-genshin-honkai') { const fid = rsp[11].toBuffer() const b = core.pb.encode({ 1: 4, - 2: Bot.uin, + 2: getUin(), 3: fid, 4: hash, 5: hash.toString('hex') + '.amr',