mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 09:05:04 +08:00
✏️ fix bot send doc #62
This commit is contained in:
parent
39f508bbdf
commit
c666366673
@ -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")
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user