测试进群提醒
This commit is contained in:
@@ -56,7 +56,9 @@ class GroupMemberChangePlugin(MessagePluginInterface):
|
|||||||
def can_process(self, message: Dict[str, Any]) -> bool:
|
def can_process(self, message: Dict[str, Any]) -> bool:
|
||||||
"""检查是否可以处理该消息"""
|
"""检查是否可以处理该消息"""
|
||||||
content = message.get("content")
|
content = message.get("content")
|
||||||
|
self.LOG.debug(f"content:{content}")
|
||||||
if not content or "<sysmsg" not in content:
|
if not content or "<sysmsg" not in content:
|
||||||
|
self.LOG.debug(f"can_process:false")
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user