瀏覽代碼

fix call to smbl main

subDesTagesMitExtraKaese 1 月之前
父節點
當前提交
6084187e14
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -91,7 +91,7 @@ async def main():
     asr.load_model()
     while True:
         try:
-            await bot.run()
+            await bot.main()
         except (asyncio.exceptions.TimeoutError, aiohttp.ClientError) as e:
             print(f"Network issue: {e}")
             traceback.print_exc()