mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
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
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:
parent
74337ca493
commit
9b0f9bf108
@ -319,7 +319,7 @@ const bili_client = {
|
|||||||
const msgs = res.data.messages;
|
const msgs = res.data.messages;
|
||||||
if (msgs instanceof Array) {
|
if (msgs instanceof Array) {
|
||||||
log.info('私信细节', `${talker_id}有${size}条未读私信`);
|
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 {
|
} else {
|
||||||
log.warn('私信细节', `${talker_id}无私信`);
|
log.warn('私信细节', `${talker_id}无私信`);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user