调整异常扣分记录,如果是异常的数据,则不扣分
This commit is contained in:
@@ -95,11 +95,11 @@ class MessageSummaryPlugin(MessagePluginInterface):
|
||||
# 直接发送消息
|
||||
if wcf:
|
||||
wcf.send_text("只支持群聊消息总结", message.get("sender"))
|
||||
return True, None
|
||||
return False, None
|
||||
# 权限判断
|
||||
gbm: GroupBotManager = message.get("gbm")
|
||||
if gbm and gbm.get_group_permission(group_id, Feature.SUMMARY_CAPABILITY) == PermissionStatus.DISABLED:
|
||||
return True, None
|
||||
return False, None
|
||||
# 从消息历史中获取群聊记录
|
||||
all_contacts: dict = message.get("all_contacts")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user