Skip to content

Commit

Permalink
📝 add missing component
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Nov 5, 2023
1 parent e9837b4 commit 2e0d4e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions website/docs/best-practice/alconna/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ description: Alconna 命令解析拓展
slug: /best-practice/alconna/
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Alconna 插件

[`nonebot-plugin-alconna`](https://github.com/nonebot/plugin-alconna) 是一类提供了拓展响应规则的插件。
Expand Down
2 changes: 1 addition & 1 deletion website/docs/best-practice/alconna/matcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ async def remove(plugin: Match[str], time: Match[int]):
await matcher.finish(f"removed {plugin.result} with {time.result if time.available else -1}")
```

:::tips
:::tip

全局的 Extension 可延迟加载 (即若有全局拓展加载于部分 AlconnaMatcher 之后,这部分响应器会被追加拓展)

Expand Down
3 changes: 3 additions & 0 deletions website/docs/best-practice/alconna/uniseg.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ sidebar_position: 5
description: 通用消息组件
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# 通用消息组件

`uniseg` 模块属于 `nonebot-plugin-alconna` 的子插件,其提供了一套通用的消息组件,用于在 `nonebot-plugin-alconna` 下构建通用消息。
Expand Down

0 comments on commit 2e0d4e8

Please sign in to comment.