diff --git a/core/builtins/__init__.py b/core/builtins/__init__.py index 1391cac4d0..c6cf045798 100644 --- a/core/builtins/__init__.py +++ b/core/builtins/__init__.py @@ -37,7 +37,7 @@ async def send_message(target: Union[FetchedSession, MessageSession, str], if isinstance(msg, list): msg = MessageChain(msg) Logger.info(target.__dict__) - await target.send_direct_message(msg, disable_secret_check, enable_split_image) + await target.send_direct_message(message_chain=msg, disable_secret_check=disable_secret_check, enable_parse_message=enable_parse_message, enable_split_image=enable_split_image) @staticmethod async def fetch_target(target: str):