@zdck8/koishi-plugin-adapter-qq
v5.0.0-alpha.1
Published
QQ Adapter for Satorijs with full group message support
Maintainers
Readme
plugin-adapter-qq
QQ / QQ Guild adapter for Satori.
This package is based on @satorijs/adapter-qq and includes additional handling for GROUP_MESSAGE_CREATE, so QQ group messages can be adapted even when the message is not an explicit GROUP_AT_MESSAGE_CREATE event.
Full group messages
To receive non-@ group messages, the bot must have the corresponding QQ Bot group message intent enabled in the QQ developer console and in the adapter intents configuration.
The adapter now treats both events as group messages:
GROUP_AT_MESSAGE_CREATEGROUP_MESSAGE_CREATE
GROUP_AT_MESSAGE_CREATE keeps the original Satori behavior of inserting an at(selfId) element. GROUP_MESSAGE_CREATE is dispatched as a normal group message and only inserts the self mention when QQ marks the bot as mentioned through the event mentions field.
Build
npm install
npm run buildPublish
npm publish