From 6c39ed8ab58dad26133be86ade872ba37f31ac29 Mon Sep 17 00:00:00 2001 From: snowy Date: Sat, 10 Aug 2024 22:36:30 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20fix=20=E9=80=9A=E9=81=93=E7=B1=BB?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E5=87=BD=E6=95=B0=E5=9C=A8=E8=BF=9B=E7=A8=8B?= =?UTF-8?q?=E9=97=B4=E4=BC=A0=E9=80=92=E6=97=B6=E6=97=A0=E6=B3=95=E5=BA=8F?= =?UTF-8?q?=E5=88=97=E5=8F=B7=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki/plugins/lifespan_monitor.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/liteyuki/plugins/lifespan_monitor.py b/liteyuki/plugins/lifespan_monitor.py index 8c2d3784..f49d5bca 100644 --- a/liteyuki/plugins/lifespan_monitor.py +++ b/liteyuki/plugins/lifespan_monitor.py @@ -46,9 +46,7 @@ def _(): @bot.on_after_start async def _(): logger.info("生命周期监控器:启动完成") - while True: - await asyncio.sleep(3) - nbp_chan.send("send by main") + # @mbp_chan.on_receive()