diff --git a/liteyuki/plugins/lifespan_monitor.py b/liteyuki/plugins/lifespan_monitor.py index 56127862..8c2d3784 100644 --- a/liteyuki/plugins/lifespan_monitor.py +++ b/liteyuki/plugins/lifespan_monitor.py @@ -51,7 +51,7 @@ async def _(): nbp_chan.send("send by main") -@mbp_chan.on_receive() -@nbp_chan.on_receive() -async def _(data): - print("主进程收到数据", data) +# @mbp_chan.on_receive() +# @nbp_chan.on_receive() +# async def _(data): +# print("主进程收到数据", data) diff --git a/src/nonebot_plugins/liteyuki_crt_utils/__init__.py b/src/nonebot_plugins/liteyuki_crt_utils/__init__.py index 3ffdae2b..386f3c63 100644 --- a/src/nonebot_plugins/liteyuki_crt_utils/__init__.py +++ b/src/nonebot_plugins/liteyuki_crt_utils/__init__.py @@ -18,10 +18,10 @@ __plugin_meta__ = PluginMetadata( } ) -chan = get_channel("nonebot-passive") - - -@chan.on_receive() -async def _(d): - print("CRT子进程接收到数据:", d) - chan.send("CRT子进程已接收到数据") +# chan = get_channel("nonebot-passive") +# +# +# @chan.on_receive() +# async def _(d): +# print("CRT子进程接收到数据:", d) +# chan.send("CRT子进程已接收到数据")