mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 12:55:06 +08:00
🐛 fix 通道类回调函数在进程间传递时无法序列号的问题
This commit is contained in:
parent
2f8999b5ad
commit
6c39ed8ab5
@ -46,9 +46,7 @@ def _():
|
|||||||
@bot.on_after_start
|
@bot.on_after_start
|
||||||
async def _():
|
async def _():
|
||||||
logger.info("生命周期监控器:启动完成")
|
logger.info("生命周期监控器:启动完成")
|
||||||
while True:
|
|
||||||
await asyncio.sleep(3)
|
|
||||||
nbp_chan.send("send by main")
|
|
||||||
|
|
||||||
|
|
||||||
# @mbp_chan.on_receive()
|
# @mbp_chan.on_receive()
|
||||||
|
Loading…
Reference in New Issue
Block a user