feat: 添加了网页监控面板

This commit is contained in:
2024-03-19 13:16:25 +08:00
parent 3adc265876
commit d739c4cde6
6 changed files with 82 additions and 18 deletions

View File

@ -3,7 +3,7 @@ import nonebot
from nonebot.adapters.onebot import v11, v12
from src.utils.config import load_from_yaml
nonebot.init(**load_from_yaml("config.yml").get("nonebot", {}))
nonebot.init(**load_from_yaml("config.yml"))
adapters = [v11.Adapter, v12.Adapter]
driver = nonebot.get_driver()