nonebot2/tests/plugins/nested/__init__.py

7 lines
152 B
Python
Raw Normal View History

2022-05-26 16:35:47 +08:00
from pathlib import Path
import nonebot
_sub_plugins = set()
_sub_plugins |= nonebot.load_plugins(str((Path(__file__).parent / "plugins").resolve()))