mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-25 01:25:04 +08:00
7 lines
152 B
Python
7 lines
152 B
Python
|
from pathlib import Path
|
||
|
|
||
|
import nonebot
|
||
|
|
||
|
_sub_plugins = set()
|
||
|
_sub_plugins |= nonebot.load_plugins(str((Path(__file__).parent / "plugins").resolve()))
|