移除 command_guard 中的群成员检查,更新对应测试

This commit is contained in:
2569718930@qq.com
2026-05-24 17:59:32 +08:00
parent 2415167132
commit 5db20061eb
2 changed files with 1 additions and 18 deletions
-2
View File
@@ -98,6 +98,4 @@ class CommandGuard:
return True
def ensure_access_and_points(self, message: Any, cost: int, command_label: str) -> bool:
if not self.ensure_group_member(message, command_label):
return False
return self.io_layer.ensure_query_points(message, cost, command_label)