📝 Docs: 修复获取事件信息文档代码范例中的高亮行 (#1983)

This commit is contained in:
Lptr-byte 2023-05-07 01:03:43 +08:00 committed by GitHub
parent 272ed8e85c
commit 7a0a32398b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ import Messenger from "@site/src/components/Messenger";
例如,我们可以继续改进上一章节中的 `weather` 插件,使其可以获取到 `天气` 命令的地名参数,并根据地名返回天气信息。
```python {8,10} title=weather/__init__.py
```python {9,11} title=weather/__init__.py
from nonebot import on_command
from nonebot.rule import to_me
from nonebot.adapters import Message