diff --git a/cores/qqbot/core.py b/cores/qqbot/core.py index 7c47f8415..2643e2fa5 100644 --- a/cores/qqbot/core.py +++ b/cores/qqbot/core.py @@ -571,7 +571,7 @@ def oper_msg(message, send_message(platform, message, f"OpenAI API错误, 原因: {str(e)}", msg_ref=msg_ref, gocq_loop=gocq_loop, qqchannel_bot=qqchannel_bot, gocq_bot=gocq_bot) elif chosen_provider == REV_CHATGPT: - hit, command_result = command_rev_chatgpt.check_command(qq_msg, role, platform=platform, message=message, cached_plugins=cached_plugins) + hit, command_result = command_rev_chatgpt.check_command(qq_msg, role, platform=platform, message_obj=message, cached_plugins=cached_plugins) if not hit: try: chatgpt_res = str(rev_chatgpt.text_chat(qq_msg))