Files
NeoBot/main.py

20 lines
301 B
Python

"""
NEO Bot 主程序入口
"""
import asyncio
import base_plugins # noqa: F401 别动这里是加载插件的
from core import WS
async def main():
"""
主函数,启动 WebSocket 连接
"""
bot = WS()
await bot.connect()
if __name__ == "__main__":
asyncio.run(main())