✏️ fix docs event message type error (#1079)

This commit is contained in:
Ju4tCode 2022-07-05 10:15:55 +08:00 committed by GitHub
parent cf2137a1a9
commit 118874080d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ async def _(foo: str = EventType()): ...
from nonebot.adapters import Message from nonebot.adapters import Message
from nonebot.params import EventMessage from nonebot.params import EventMessage
async def _(foo: str = EventMessage()): ... async def _(foo: Message = EventMessage()): ...
``` ```
### EventPlainText ### EventPlainText

View File

@ -168,7 +168,7 @@ async def _(foo: str = EventType()): ...
from nonebot.adapters import Message from nonebot.adapters import Message
from nonebot.params import EventMessage from nonebot.params import EventMessage
async def _(foo: str = EventMessage()): ... async def _(foo: Message = EventMessage()): ...
``` ```
### EventPlainText ### EventPlainText