案例代码:
@today_weather.handle()
async def _(event: Event,bot: Bot,state: T_State):
state["state"] = "wait"
param = str(event.get_message()).strip()
replace_data = ["天气","/weather","weather","的"]
for r in replace_data:
param = param.replace(r,"",1).replace(" ","")
if param != "":
state["city"] = param
@today_weather.got("city",prompt="你想要查询哪里的天气呢?<提示:可随时回复0以退出天气查询>")
# more code...
此时nonebot2中显示连接已被关闭:

接着提示超时:

此时必须要关闭机器人和客户端(包括微信本身),并重新开启。
client输出:

另外,可否出一个源码部署+配置教程,GitHub中的源码完全跑不起来,一跑一堆错。