测试进群提醒

This commit is contained in:
liuwei
2025-06-05 09:31:41 +08:00
parent 34e38f6f24
commit a34c7ff459

View File

@@ -56,7 +56,9 @@ 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