This commit is contained in:
2026-01-07 23:28:04 +08:00
parent 6d7dfc179d
commit c2de743098
3 changed files with 1 additions and 139 deletions

View File

@@ -82,7 +82,6 @@ class MessageHandler(BaseHandler):
def command(
self,
*names: str,
*names: str,
permission: Optional[Permission] = None,
override_permission_check: bool = False
) -> Callable:

View File

@@ -27,7 +27,7 @@ def load_all_plugins():
加载过程中会提取插件元数据 `__plugin_meta__` 并注册到 CommandManager。
"""
plugin_dir = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "..", "plugins"
os.path.dirname(os.path.abspath(__file__)), "..", "..", "plugins"
)
package_name = "plugins"