!11 修复查看面板时获取QQ号错误

Merge pull request !11 from ChallengerV/master
This commit is contained in:
Yoimiya 2023-03-18 03:42:19 +00:00 committed by Gitee
commit 05f4568e62
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ async function saveImages (e, name, imageMessages) {
let path = resPath + pathSuffix let path = resPath + pathSuffix
if (!fs.existsSync(path)) { if (!fs.existsSync(path)) {
Data.createDir(pathSuffix, resPath) Data.createDir(pathSuffix, 'miao')
} }
let senderName = lodash.truncate(e.sender.card, { length: 8 }) let senderName = lodash.truncate(e.sender.card, { length: 8 })
let imgCount = 0 let imgCount = 0

View File

@ -83,7 +83,7 @@ const ProfileList = {
let profiles = player.getProfiles() let profiles = player.getProfiles()
// 检测标志位 // 检测标志位
let qq = (e.at && !e.atBot) ? e.at : e.qq let qq = (e.at && !e.atBot) ? e.at : e.user_id
await ProfileRank.setUidInfo({ uid, profiles, qq, uidType: isSelfUid ? 'ck' : 'bind' }) await ProfileRank.setUidInfo({ uid, profiles, qq, uidType: isSelfUid ? 'ck' : 'bind' })
let groupId = e.group_id let groupId = e.group_id