From c666366673fe9c9fb1b2777645bd39033d96d925 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Thu, 19 Nov 2020 12:53:20 +0800 Subject: [PATCH] :pencil2: fix bot send doc #62 --- docs/guide/creating-a-handler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/creating-a-handler.md b/docs/guide/creating-a-handler.md index 725aaacf..ca65b1a6 100644 --- a/docs/guide/creating-a-handler.md +++ b/docs/guide/creating-a-handler.md @@ -153,7 +153,7 @@ async def arg_handle(bot: Bot, event: Event, state: dict): if state["arg1"] not in ["allow", "list"]: await matcher.reject("参数不正确!请重新输入") # 发送一些信息 - await bot.send("message") + await bot.send(event, "message") await matcher.send("message") await matcher.finish("message") ```