mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-16 11:00:54 +00:00
⚡ improve plugin system (#1011)
This commit is contained in:
6
tests/plugins/nested/__init__.py
Normal file
6
tests/plugins/nested/__init__.py
Normal file
@ -0,0 +1,6 @@
|
||||
from pathlib import Path
|
||||
|
||||
import nonebot
|
||||
|
||||
_sub_plugins = set()
|
||||
_sub_plugins |= nonebot.load_plugins(str((Path(__file__).parent / "plugins").resolve()))
|
0
tests/plugins/nested/plugins/nested_subplugin.py
Normal file
0
tests/plugins/nested/plugins/nested_subplugin.py
Normal file
Reference in New Issue
Block a user