fix: 仅屏蔽自动回复 (#401)
Some checks are pending
Build and push Docker images / docker (push) Waiting to run
Mirror and run GitLab CI / build (push) Waiting to run
Package Node.js project into an executable / node${{ matrix.nodev }}-${{ matrix.platform }}-x64 (18, linux) (push) Waiting to run
Package Node.js project into an executable / node${{ matrix.nodev }}-${{ matrix.platform }}-x64 (18, macos) (push) Waiting to run
Package Node.js project into an executable / node${{ matrix.nodev }}-${{ matrix.platform }}-x64 (18, win) (push) Waiting to run
Package Node.js project into an executable / node18-${{ matrix.platform }}-arm64 (alpine) (push) Waiting to run
Package Node.js project into an executable / node18-${{ matrix.platform }}-arm64 (linux) (push) Waiting to run
Package Node.js project into an executable / node18-${{ matrix.platform }}-arm64 (linuxstatic) (push) Waiting to run

Fixed #401
This commit is contained in:
shanmite 2024-08-20 09:12:24 +08:00
parent 74337ca493
commit 9b0f9bf108

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 => it.content).join('\n');
return msgs.filter(it => ![8].includes(it.msg_source)).map(it => it.content).join('\n');
} else {
log.warn('私信细节', `${talker_id}无私信`);
}