mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-23 11:55:48 +08:00
8 lines
139 B
Python
8 lines
139 B
Python
|
from pathlib import Path
|
||
|
|
||
|
from nonebot import load_plugins
|
||
|
|
||
|
_sub_plugins = set()
|
||
|
|
||
|
_sub_plugins |= load_plugins(str(Path(__file__).parent))
|