This commit is contained in:
shanmite 2024-04-25 08:53:10 +08:00
parent 22c5b55eb6
commit 90bce36e05

View File

@ -319,7 +319,7 @@ const bili_client = {
const msgs = res.data.messages
if (msgs instanceof Array) {
log.info('私信细节', `${talker_id}${size}条未读私信`)
return msgs.filter(it => ![5, 8, 9, 10, 11].includes(it.msg_source)).map(it => JSON.parse(it.content).content).join('\n')
return msgs.filter(it => ![5, 8, 9, 10, 11].includes(it.msg_source)).map(it => it.content).join('\n')
} else {
log.warn('私信细节', `${talker_id}无私信`)
}