mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
commit
05f4568e62
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user