mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-30 17:15:08 +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))
|