diff --git a/utils/uploadRecord.js b/utils/uploadRecord.js index 98d650b9..f6895374 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',