📝 初次启动生成默认配置文件时添加 satori 相关配置

📝 将适配器配置初始化和注册移动到 utils.adapter_manager
This commit is contained in:
Expliyh
2024-05-17 17:51:42 +08:00
parent c914ddc0ee
commit 974b97b744
6 changed files with 84 additions and 10 deletions

View File

@ -0,0 +1,14 @@
from . import (
satori,
onebot
)
def init(config: dict):
onebot.init()
satori.init(config)
def register():
onebot.register()
satori.register()