抽象send方法,添加注释

This commit is contained in:
2026-01-01 17:58:17 +08:00
parent 9146ffbb1a
commit 046dd0860f
9 changed files with 366 additions and 38 deletions

View File

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