mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 08:12:14 +08:00
Update nonebot/adapters/__init__.py
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
parent
13f6a692a7
commit
a5947922b6
@ -341,7 +341,7 @@ class Message(list, abc.ABC):
|
|||||||
"""
|
"""
|
||||||
:参数:
|
:参数:
|
||||||
|
|
||||||
* ``message: Union[MessageSegment, Message, Any]``: 消息内容
|
* ``message: Union[str, list, dict, MessageSegment, Message, Any]``: 消息内容
|
||||||
"""
|
"""
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
if isinstance(message, Message):
|
if isinstance(message, Message):
|
||||||
|
Loading…
Reference in New Issue
Block a user