From c666366673fe9c9fb1b2777645bd39033d96d925 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Thu, 19 Nov 2020 12:53:20 +0800 Subject: [PATCH 1/2] :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") ``` From 26a4daad33f580b5e2abdab10e3c4b8c60a8f67a Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Thu, 19 Nov 2020 12:58:35 +0800 Subject: [PATCH 2/2] :beers: publish rauthman --- docs/.vuepress/public/plugins.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/.vuepress/public/plugins.json b/docs/.vuepress/public/plugins.json index 007aec4c..c6849fc4 100644 --- a/docs/.vuepress/public/plugins.json +++ b/docs/.vuepress/public/plugins.json @@ -14,5 +14,13 @@ "desc": "将B站UP主的动态和直播信息推送至QQ", "author": "SK-415", "repo": "SK-415/HarukaBot" + }, + { + "id": "nonebot_plugin_rauthman", + "link": "nonebot-plugin-rauthman", + "name": "rauthman", + "desc": "基于规则的授权管理", + "author": "Lancercmd", + "repo": "Lancercmd/nonebot_plugin_rauthman" } ]