feat:noreply不考虑command

This commit is contained in:
SengokuCola
2025-07-15 21:37:32 +08:00
parent 22337ee2f4
commit a150aa7b2b
10 changed files with 33 additions and 10 deletions

View File

@@ -79,7 +79,11 @@ class NoReplyAction(BaseAction):
# 1. 检查新消息
recent_messages_dict = message_api.get_messages_by_time_in_chat(
chat_id=self.chat_id, start_time=start_time, end_time=current_time
chat_id=self.chat_id,
start_time=start_time,
end_time=current_time,
filter_mai=True,
filter_command=True,
)
new_message_count = len(recent_messages_dict)