bot启动类
This commit is contained in:
parent
ce6e072550
commit
c3543e5089
2
bot.py
2
bot.py
@ -22,5 +22,5 @@ nonebot.load_plugins("hexi") # 加载bot自定义插件
|
|||||||
nonebot.load_from_toml("pyproject.toml")
|
nonebot.load_from_toml("pyproject.toml")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
logger.warning("xx?启动!")
|
logger.warning("hexi?启动!")
|
||||||
nonebot.run(app="__mp_main__:app")
|
nonebot.run(app="__mp_main__:app")
|
||||||
|
Loading…
Reference in New Issue
Block a user