[Feature]: Add QQ Channel Support for China Mainland Users
Summary
Users in China Mainland face significant barriers accessing international messaging platforms (Telegram, WhatsApp,
Discord) due to network restrictions (GFW). This prevents a large potential user base from using Moltbot as their AI
assistant gateway.
QQ is one of China's largest messaging platforms (Tencent, 600M+ active users), freely accessible without
restrictions. Adding QQ support would enable Chinese users to use Moltbot through their most commonly used messaging
app.
Proposed solution
Add QQ as a new channel in Moltbot using the OneBot v11 protocol:
- Protocol: OneBot v11 (standard bot protocol for QQ ecosystem)
- Backend: https://github.com/NapNeko/NapCatQQ (actively maintained OneBot implementation)
- Communication: WebSocket (forward connection)
- Structure: Extension under extensions/qq/
Features:
- Private message (DM) support
- Group message support
- Media message handling (images, files)
- Multi-account support
- DM policy (pairing/allowlist/open)
- Onboarding wizard integration
I have a working implementation ready and can break it into smaller PRs for easier review:
- OneBot client and protocol types
- Account management and config schema
- Message sending/receiving
- Channel plugin integration
Alternatives considered
- Other QQ bot frameworks (e.g., go-cqhttp) - NapCatQQ is more actively maintained and has better compatibility with latest QQ versions
- HTTP API instead of WebSocket - WebSocket provides real-time bidirectional communication, better suited for chat
applications - WeChat support - WeChat has stricter bot restrictions; QQ's OneBot ecosystem is more mature and bot-friendly
Additional context
- https://napneko.github.io/zh-CN/
- https://github.com/botuniverse/onebot-11
- Working implementation: https://github.com/user/moltbot/tree/feat/qq-channel (ready for review)
感谢大佬!
支持
Definitely need this.
Onebot is a widely used bot protocol in China. And there are many Onebot-compatible open source adapters for social media in China.
我们也在做一个 molbot中文版:https://github.com/CrayBotAGI/Craybot 现在头疼分支管理和自动依赖的事情 有兴趣的朋友们可以来玩一下,QQ扫码
有人做了这个,你们可以看看:https://github.com/moltbot/moltbot/pull/3848
有人做了这个,你们可以看看:#3848
https://github.com/moltbot/moltbot/pull/3229 我昨天提交了一个pr,但是管理员回复我改动量太大了,建议我建一个issue讨论一下
OpenClaw Maintainer Triage // Issue Closure
Hi — this is a joint maintainer effort to keep the repo moving. We’re currently seeing ~30 new issues per hour, and we can’t review every future request without slowing down critical stabilization work. This issue is unlikely to be considered in the near term, so we’re closing it to keep the pipeline moving while we focus on stability.
We’re very sorry this is happening, but we won’t be able to look at the comments on this issue.
Want to make your request stand out? Submit a PR and report to #pr-thunderdome-dangerzone on Discord — READ THE TOPIC. Give us a clear briefing: what it fixes, who it helps, and why it’s worth shipping.
Thanks for understanding and for contributing.
