mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
17 lines
353 B
Python
17 lines
353 B
Python
|
"""该入口文件仅在nb run无法正常工作时使用
|
||
|
"""
|
||
|
|
||
|
import nonebot
|
||
|
from nonebot import get_driver
|
||
|
from nonebot.adapters.onebot.v11 import Adapter
|
||
|
from nonebot.plugin import load_plugin
|
||
|
|
||
|
nonebot.init()
|
||
|
load_plugin("nonebot_plugin_marshoai")
|
||
|
|
||
|
driver = get_driver()
|
||
|
driver.register_adapter(Adapter)
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
nonebot.run()
|