Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix: pass msg_id in QQ C2C reply to avoid proactive message permission error
GabrielWithTina8842fb2b4d73
diff --git a/nanobot/channels/qq.py b/nanobot/channels/qq.pyindex 5352a3096..50dbbded5 100644--- a/nanobot/channels/qq.py+++ b/nanobot/channels/qq.py@@ -100,10 +100,12 @@ class QQChannel(BaseChannel):logger.warning("QQ client not initialized")returntry:+ msg_id = msg.metadata.get("message_id")await self._client.api.post_c2c_message(openid=msg.chat_id,msg_type=0,content=msg.content,+ msg_id=msg_id,)except Exception as e:logger.error("Error sending QQ message: {}", e)