From c6f037cae2f5cbce3b3352ec59616cd8bfcf3331 Mon Sep 17 00:00:00 2001 From: Alero Date: Wed, 12 Feb 2025 03:25:01 +0800 Subject: [PATCH] fix: a undefine mistake --- astrbot/api/event/filter/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/api/event/filter/__init__.py b/astrbot/api/event/filter/__init__.py index 6dffbb4e6..c53536634 100644 --- a/astrbot/api/event/filter/__init__.py +++ b/astrbot/api/event/filter/__init__.py @@ -29,7 +29,7 @@ __all__ = [ 'PlatformAdapterTypeFilter', 'PlatformAdapterType', 'PermissionTypeFilter', - 'register_custom_permission_type', + 'custom_permission_type', 'PermissionType', 'on_llm_request', 'llm_tool',