mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-14 11:27:37 +08:00
974b97b744
📝 将适配器配置初始化和注册移动到 utils.adapter_manager
15 lines
171 B
Python
15 lines
171 B
Python
from . import (
|
|
satori,
|
|
onebot
|
|
)
|
|
|
|
|
|
def init(config: dict):
|
|
onebot.init()
|
|
satori.init(config)
|
|
|
|
|
|
def register():
|
|
onebot.register()
|
|
satori.register()
|