删除@ 之后的总结指令, 简化为#总结指令
This commit is contained in:
@@ -95,7 +95,7 @@ class MessageSummaryPlugin(MessagePluginInterface):
|
||||
return True, None
|
||||
# 权限判断
|
||||
gbm: GroupBotManager = message.get("gbm")
|
||||
if gbm and gbm.get_group_permission(group_id, Feature.AI_CAPABILITY) == PermissionStatus.DISABLED:
|
||||
if gbm and gbm.get_group_permission(group_id, Feature.SUMMARY_CAPABILITY) == PermissionStatus.DISABLED:
|
||||
return True, None
|
||||
# 从消息历史中获取群聊记录
|
||||
all_contacts: dict = message.get("all_contacts")
|
||||
|
||||
Reference in New Issue
Block a user