mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-05 19:46:47 +00:00
📝 Docs: 升级 docusaurus 3.8.1 (#3649)
This commit is contained in:
@ -150,7 +150,7 @@ async def handle(
|
||||
|
||||
- `xxx: CommandResult`
|
||||
- `xxx: Arparma`:命令的[解析结果](./command.md#解析结果)
|
||||
- `xxx: Duplication`:命令的解析结果的 [`Duplication`](./command.md#Duplication)
|
||||
- `xxx: Duplication`:命令的解析结果的 [`Duplication`](./command.md#duplication)
|
||||
- `xxx: Alconna`:命令的源命令
|
||||
- `<key>: Match[<type>]`:上述的匹配项,使用 `key` 作为查询路径
|
||||
- `xxx: Query[<type>] = Query(<path>, default)`:上述的查询项,必需声明默认值以设置查询路径 `path`
|
||||
|
@ -159,7 +159,7 @@ async def _(target: MsgTarget):
|
||||
|
||||
事实上,构造 `Target` 对象时,`self_id`, `scope`, `adapter` 和 `platform` 都会参与到 `selector` 的构造中。
|
||||
|
||||
::tip
|
||||
:::tip
|
||||
|
||||
你其实可以使用 `Target` 来帮你筛选 `Bot` 对象:
|
||||
|
||||
|
Reference in New Issue
Block a user