Skip to content

Commit

Permalink
📝 Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
noneflow[bot] committed Apr 18, 2024
1 parent b0d554e commit b497bb8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
17 changes: 8 additions & 9 deletions website/docs/best-practice/alconna/matcher.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -218,25 +218,25 @@ async def handle_test4(qux: Query[bool] = Query("baz.qux", False)):

本插件为以下适配器提供了专门的适配器标注:

| 协议名称 | 路径 |
|---------------------------------------------------------------------| ------------------------------------ |
| [OneBot 协议](https://github.com/nonebot/adapter-onebot) | adapters.onebot11, adapters.onebot12 |
| 协议名称 | 路径 |
| ------------------------------------------------------------------- | ------------------------------------ |
| [OneBot 协议](https://github.com/nonebot/adapter-onebot) | adapters.onebot11, adapters.onebot12 |
| [Telegram](https://github.com/nonebot/adapter-telegram) | adapters.telegram |
| [飞书](https://github.com/nonebot/adapter-feishu) | adapters.feishu |
| [飞书](https://github.com/nonebot/adapter-feishu) | adapters.feishu |
| [GitHub](https://github.com/nonebot/adapter-github) | adapters.github |
| [QQ bot](https://github.com/nonebot/adapter-qq) | adapters.qq |
| [钉钉](https://github.com/nonebot/adapter-ding) | adapters.ding |
| [钉钉](https://github.com/nonebot/adapter-ding) | adapters.ding |
| [Dodo](https://github.com/nonebot/adapter-dodo) | adapters.dodo |
| [Console](https://github.com/nonebot/adapter-console) | adapters.console |
| [开黑啦](https://github.com/Tian-que/nonebot-adapter-kaiheila) | adapters.kook |
| [开黑啦](https://github.com/Tian-que/nonebot-adapter-kaiheila) | adapters.kook |
| [Mirai](https://github.com/ieew/nonebot_adapter_mirai2) | adapters.mirai |
| [Ntchat](https://github.com/JustUndertaker/adapter-ntchat) | adapters.ntchat |
| [MineCraft](https://github.com/17TheWord/nonebot-adapter-minecraft) | adapters.minecraft |
| [BiliBili Live](https://github.com/wwweww/adapter-bilibili) | adapters.bilibili |
| [Walle-Q](https://github.com/onebot-walle/nonebot_adapter_walleq) | adapters.onebot12 |
| [Discord](https://github.com/nonebot/adapter-discord) | adapters.discord |
| [Red 协议](https://github.com/nonebot/adapter-red) | adapters.red |
| [Satori 协议](https://github.com/nonebot/adapter-satori) | adapters.satori |
| [Red 协议](https://github.com/nonebot/adapter-red) | adapters.red |
| [Satori 协议](https://github.com/nonebot/adapter-satori) | adapters.satori |

## 条件控制

Expand Down Expand Up @@ -551,7 +551,6 @@ async def handle(result: Arparma):
]}
/>


补全会话配置如下:

```python
Expand Down
3 changes: 2 additions & 1 deletion website/docs/best-practice/alconna/uniseg.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class Markdown(Custom):
def markdown(seg: QQMessageSegment) -> Markdown:
return Markdown("markdown", content=seg.data["content"])
```

:::

## 通用消息序列
Expand Down Expand Up @@ -449,7 +450,6 @@ async def send(

实际上,`UniMessage` 同时提供了获取消息事件 id 与消息发送对象的方法:


<Tabs groupId="get_unimsg">
<TabItem value="depend" label="使用依赖注入">

Expand Down Expand Up @@ -513,6 +513,7 @@ class Target:
```

其构造时需要如下参数:

- `id` 为目标id;若为群聊则为 group_id 或者 channel_id,若为私聊则为user_id
- `parent_id` 为父级id;若为频道则为 guild_id,其他情况下可能为空字符串(例如 Feishu 下可作为部门 id)
- `channel` 为是否为频道,仅当目标平台符合频道概念时
Expand Down
1 change: 1 addition & 0 deletions website/src/pages/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ toc_max_heading_level: 2

### 📝 文档

- Docs: 更新最佳实践的 Alconna 部分 [@RF-Tar-Railt](https://github.com/RF-Tar-Railt) ([#2656](https://github.com/nonebot/nonebot2/pull/2656))
- Docs: 添加 RocketChat 适配器说明 [@yanyongyu](https://github.com/yanyongyu) ([#2640](https://github.com/nonebot/nonebot2/pull/2640))
- Docs: 商店卡片样式调整 [@StarHeartHunt](https://github.com/StarHeartHunt) ([#2633](https://github.com/nonebot/nonebot2/pull/2633))
- Docs: 为商店插件卡片添加更多展示内容 [@AzideCupric](https://github.com/AzideCupric) ([#2626](https://github.com/nonebot/nonebot2/pull/2626))
Expand Down

0 comments on commit b497bb8

Please sign in to comment.