滚木
This commit is contained in:
@@ -82,7 +82,6 @@ class MessageHandler(BaseHandler):
|
||||
def command(
|
||||
self,
|
||||
*names: str,
|
||||
*names: str,
|
||||
permission: Optional[Permission] = None,
|
||||
override_permission_check: bool = False
|
||||
) -> Callable:
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user