dsh-qqbot
dsh-qqbot: bring dsh agent to QQ — group moderation, sticker library, scheduled self-initiated posts, multi-instance personas, visual settings.
Install
dsh plugin --profile web add github:zaofan-make/dsh-qqbot Writes to ~/.dsh/profiles/web; loaded by dsh web
Screenshots 5
What it solves
A DSH agent is powerful inside the web/terminal, but keeping it alive in a real QQ group means handling message plumbing, rich media, group permissions, personas and context cost. dsh-qqbot is that layer:
- QQ as an agent frontend protocol: group/private message in and out, images, voice, video and files, plus @-mentions and quoted replies.
- Group moderation loop: join-request approval (event injection plus polling, verifying openid before auto-approving), mute, kick and member lookup over official APIs, with human-readable failure reasons (kicking uses the operator’s own QQ login since the official API does not expose it).
- Atmosphere duty: group images are auto-ingested with dedup and staged folders; the AI searches its own library, picks a sticker and sends it with situational rules (no cold-start posting, rate limits, no repeats back to back). Scheduled tasks let it speak up on time.
- Token thrift: group chatter is value-scored before the model is woken, and context is auto-compacted.
- Multi-instance, multi-persona: run several accounts on one machine, each with its own AppID, persona, sticker library, schedules and gates; personas are editable in the panel.
- Visual console: a floating dock offers chat replay (SILK voice converted to mp3, video playback, file download cards), join approvals, outbound policy, extension toggles and auto-rendered settings forms — no config-file editing.
- Extensible: drop a
.mjsinto{data root}/.qqbot-extensions/and it becomes an extension with seven extension points (tools / commands / botplay / hooks / inbound / outbound / ui) sharing one capability bundle (send text, media, inject into context, official API, persistence, identity) that survives plugin upgrades; an extension-pack and marketplace flow is documented too.
Caveats worth knowing: this is an enhanced fork of tencent-connect/dsh-qqbot — all changes live downstream and reinstalling/upgrading upstream will overwrite them; file messages are constrained by QQ proactive-message rate limits, so graceful degradation to a text notice is a deliberate fallback.
Who it’s for
- Users who want a long-running DSH agent inside QQ groups as an assistant, chat companion or hype crew;
- Group owners and admins who want automated join approval, mute and kick;
- Developers who want custom tools, slash commands, message interception or panel UI without patching the plugin source;
- People who want the bot running 24/7 on a phone (via the Android shell setup) instead of a dedicated PC.
Filed under misc: it is a bundle of IM-channel and group-operations capabilities rather than a single narrow tool.
Compiled from the project README · All rights belong to the original author
Report issue / Request removal