mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
🔀 Merge pull request #691
:construction_workerusing: nb-autodoc to generate api docs
This commit is contained in:
@ -33,7 +33,7 @@ async def _(bot: Bot, event: Event):
|
||||
|
||||
在这段代码中,我们事件响应器指定了 `SUPERUSER` 这样一个权限,那么机器人只会响应超级管理员的 `测试超管` 命令,并且会响应该超级管理员的连续对话。
|
||||
|
||||
::: tip 提示
|
||||
:::tip 提示
|
||||
|
||||
在这里需要强调的是,`Permission` 与 `Rule` 的表现并不相同, `Rule` 只会在初次响应时生效,在余下的对话中并没有限制事件;但是 `Permission` 会持续生效,在连续对话中会一直对事件主体加以限制。
|
||||
|
||||
|
@ -9,7 +9,7 @@ options:
|
||||
|
||||
## 前注
|
||||
|
||||
本章节仅包含插件发布流程指导,插件开发请查阅 **[创建插件](../tutorial/plugin/config-plugin.md)** 章节与 **[Plugin API 文档](../api/plugin.md)** 。
|
||||
本章节仅包含插件发布流程指导,插件开发请查阅 **[创建插件](../tutorial/plugin/introduction.md)** 章节与 **[Plugin API 文档](../api/plugin/index.md)** 。
|
||||
|
||||
## 插件发布流程
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"position": 14
|
||||
"position": 15
|
||||
}
|
||||
|
3
website/docs/api/dependencies/_category_.json
Normal file
3
website/docs/api/dependencies/_category_.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"position": 13
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"position": 13
|
||||
"position": 14
|
||||
}
|
||||
|
3
website/docs/api/plugin/_category_.json
Normal file
3
website/docs/api/plugin/_category_.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"position": 12
|
||||
}
|
Reference in New Issue
Block a user