Update nonebot/adapters/__init__.py

Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
Artin 2020-12-29 14:50:24 +08:00 committed by GitHub
parent 13f6a692a7
commit a5947922b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
if isinstance(message, Message):