移除 command_guard 中的群成员检查,更新对应测试
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user