📝 Docs: 修复获取事件信息文档代码范例中缺失的 import (#1980)

Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
Lptr-byte 2023-05-07 00:13:44 +08:00 committed by GitHub
parent 4b0b1e69a4
commit 4ba4c0bebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ import Messenger from "@site/src/components/Messenger";
```python {8,10} title=weather/__init__.py
from nonebot import on_command
from nonebot.rule import to_me
from nonebot.adapters import Message
from nonebot.params import CommandArg