测试进群提醒

This commit is contained in:
liuwei
2025-06-05 09:36:53 +08:00
parent a34c7ff459
commit 36a546f7ff

View File

@@ -56,9 +56,7 @@ class GroupMemberChangePlugin(MessagePluginInterface):
def can_process(self, message: Dict[str, Any]) -> bool:
"""检查是否可以处理该消息"""
content = message.get("content")
self.LOG.debug(f"content:{content}")
if not content or "<sysmsg" not in content:
self.LOG.debug(f"can_process:false")
return False
return True