mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-12-04 19:24:43 +08:00
13 lines
217 B
Python
13 lines
217 B
Python
import nonebot
|
|
from nonebot.adapters.onebot import v11, v12
|
|
|
|
|
|
def init():
|
|
pass
|
|
|
|
|
|
def register():
|
|
driver = nonebot.get_driver()
|
|
driver.register_adapter(v11.Adapter)
|
|
driver.register_adapter(v12.Adapter)
|