测试进群提醒
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user