fix: getUin错误

This commit is contained in:
ikechan8370 2023-10-21 16:06:31 +08:00
parent 9e7a614ded
commit dc19009e2a

View file

@ -139,7 +139,7 @@ async function uploadRecord (recordUrl, ttsMode = 'vits-uma-genshin-honkai') {
2: 3, 2: 3,
5: { 5: {
1: Contactable.target, 1: Contactable.target,
2: getUin(e), 2: getUin(),
3: 0, 3: 0,
4: hash, 4: hash,
5: buf.length, 5: buf.length,
@ -183,7 +183,7 @@ async function uploadRecord (recordUrl, ttsMode = 'vits-uma-genshin-honkai') {
const fid = rsp[11].toBuffer() const fid = rsp[11].toBuffer()
const b = core.pb.encode({ const b = core.pb.encode({
1: 4, 1: 4,
2: Bot.uin, 2: getUin(),
3: fid, 3: fid,
4: hash, 4: hash,
5: hash.toString('hex') + '.amr', 5: hash.toString('hex') + '.amr',