Skip to content

Commit

Permalink
fix: 仅屏蔽自动回复 (#401)
Browse files Browse the repository at this point in the history
Fixed #401
  • Loading branch information
shanmiteko committed Aug 20, 2024
1 parent 74337ca commit 9b0f9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/bili.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}无私信`);
}
Expand Down

0 comments on commit 9b0f9bf

Please sign in to comment.