📝 replace deprecated caution/important admonitions

This commit is contained in:
StarHeartHunt
2026-07-22 22:21:49 +08:00
parent c42629ba7f
commit 641e95b73c
83 changed files with 147 additions and 147 deletions
@@ -534,7 +534,7 @@ async def message_provider(
该方法可能会调用多次,即对于多个 Extension,选择优先级靠前且实现了该方法的 Extension,若调用的返回值不为 `None` 则作为结果。
:::caution
:::warning
该方法的默认实现对结果 (UniMessage) 会进行缓存。`Extension` 的实现也应尽量实现缓存机制。
@@ -161,7 +161,7 @@ async def on_startup():
await UniMessage("Hello!").send(target=target)
```
:::caution
:::warning
在响应器以外的地方,除非启用了 `alconna_apply_fetch_targets` 配置项,否则 `bot` 参数必须手动传入。
@@ -55,7 +55,7 @@ asycn def _(bot: Bot, event: Event):
</TabItem>
</Tabs>
:::caution
:::warning
该方法获取的消息事件 ID 不推荐直接用于各适配器的 API 调用中,可能会操作失败。
@@ -231,7 +231,7 @@ async def message_edit(
## 表态消息
:::caution
:::warning
该方法属于实验性功能。其接口可能会在未来的版本中发生变化。