mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-20 17:46:51 +08:00
📝 tweak
This commit is contained in:
parent
fbd60e30fc
commit
30cb6be104
@ -167,12 +167,12 @@ class MessageEvent(Event):
|
||||
event: MessageEventDetail
|
||||
|
||||
to_me: bool = False
|
||||
reply: Optional[Reply]
|
||||
"""
|
||||
:说明: 消息是否与机器人有关
|
||||
|
||||
:类型: ``bool``
|
||||
"""
|
||||
reply: Optional[Reply]
|
||||
|
||||
@overrides(Event)
|
||||
def get_type(self) -> Literal["message", "notice", "meta_event"]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user