qq官方机器人无法检测消息内容(?)

我在koishi中下载了wordle-game(2.5.9最新),meme-api(0.1.30最新),smmcat-tahuawocai(0.0.11最新版),blockly-null(1.2.11)插件

  • meme-api

使用meme-api时,我成功部署了后端,在沙盒中测试正常(有消息返回)


但是qq官方机器人无回应,需要加上“meme generate”指令才能制作表情包


meme配置:

无日志返回

  • wordle-game

wordle-game也不能直接猜词,必须加指令“wordlegame.猜”才能猜词,沙盒中测试正常



wordle-game配置:

无日志返回

  • smmcat-tahuawocai

它画我猜也不可以直接猜,因为插件没提供额外的指令,所以无法测试加指令后能否正常,沙盒中测试正常



smmcat-tahuawocai配置:

无日志返回

  • blockly

所以我开始怀疑是不是机器人无法识别到消息,所以我在blockly中搭了个积木块测试
image
沙盒测试正常,qq官方机器人不能返回信息
image


无日志返回

  • pjsk-pptr

最后我用插件“pjsk-pptr”来验证我的想法,但奇怪的是这次qq官方机器人貌似可以不用指令就可以制作pjsk表情包了


但是额外不同的是,日志终于有内容了

环境信息:

System:
    OS: Windows 11 10.0.22631
    CPU: (6) x64 Intel(R) Core(TM) i5-9500F CPU @ 3.00GHz

Binaries:
    Node: 20.12.2
    Yarn: 4.0.1

Koishi:
    Core: 4.18.0
    Console: 5.28.4
    Koishi Desktop: 1.1.3

我的已下载插件:

    "@cordisjs/plugin-http": "0.6.2",
    "@koishijs/plugin-actions": "0.0.2",
    "@koishijs/plugin-adapter-discord": "4.5.8",
    "@koishijs/plugin-adapter-kook": "4.6.4",
    "@koishijs/plugin-adapter-qq": "4.8.3",
    "@koishijs/plugin-adapter-satori": "1.3.1",
    "@koishijs/plugin-adapter-telegram": "4.5.8",
    "@koishijs/plugin-admin": "2.0.0-beta.4",
    "@koishijs/plugin-analytics": "2.0.6",
    "@koishijs/plugin-auth": "4.1.6",
    "@koishijs/plugin-bind": "1.5.1",
    "@koishijs/plugin-commands": "3.5.4",
    "@koishijs/plugin-config": "2.8.5",
    "@koishijs/plugin-console": "5.29.3",
    "@koishijs/plugin-database-sqlite": "4.5.0",
    "@koishijs/plugin-echo": "2.2.5",
    "@koishijs/plugin-explorer": "1.5.5",
    "@koishijs/plugin-help": "2.4.4",
    "@koishijs/plugin-http": "0.6.1",
    "@koishijs/plugin-insight": "3.5.2",
    "@koishijs/plugin-inspect": "1.1.7",
    "@koishijs/plugin-locales": "2.5.3",
    "@koishijs/plugin-logger": "2.6.8",
    "@koishijs/plugin-market": "2.11.2",
    "@koishijs/plugin-notifier": "1.2.1",
    "@koishijs/plugin-oobe": "0.0.2",
    "@koishijs/plugin-proxy-agent": "0.3.3",
    "@koishijs/plugin-sandbox": "3.4.1",
    "@koishijs/plugin-server": "3.2.3",
    "@koishijs/plugin-server-satori": "2.7.1",
    "@koishijs/plugin-server-temp": "1.4.0",
    "@koishijs/plugin-status": "7.4.10",
    "@rinkuto/koishi-plugin-pixiv": "1.1.7",
    "koishi": "4.18.0",
    "koishi-plugin-adapter-onebot": "6.7.0",
    "koishi-plugin-android": "0.0.1",
    "koishi-plugin-assets-local": "3.3.2",
    "koishi-plugin-blockly-null": "1.2.11",
    "koishi-plugin-cache-database": "2.1.0",
    "koishi-plugin-caipiao": "1.0.0",
    "koishi-plugin-card-21-game": "2.1.5",
    "koishi-plugin-cchess": "1.0.2",
    "koishi-plugin-chess": "4.3.0",
    "koishi-plugin-dataview": "2.7.4",
    "koishi-plugin-desktop": "1.0.0",
    "koishi-plugin-dialogue": "4.1.3",
    "koishi-plugin-dialogue-context": "1.0.4",
    "koishi-plugin-downloads": "0.1.3",
    "koishi-plugin-eat-what": "1.0.2",
    "koishi-plugin-emojihub-bili": "1.0.0",
    "koishi-plugin-emojimixer": "0.0.1",
    "koishi-plugin-fei-bagong": "0.4.1",
    "koishi-plugin-ffmpeg": "1.1.0",
    "koishi-plugin-gameinfo": "1.1.1",
    "koishi-plugin-genshinvoice-vits": "1.5.0",
    "koishi-plugin-group-manage": "1.3.1",
    "koishi-plugin-huanlin-welcome": "1.0.10",
    "koishi-plugin-image-save-path": "0.3.7",
    "koishi-plugin-imagify": "2.2.9",
    "koishi-plugin-jrys-prpr": "0.5.2",
    "koishi-plugin-markdown-to-image-service": "1.2.4",
    "koishi-plugin-market-info": "2.1.1",
    "koishi-plugin-mememaker": "1.0.22",
    "koishi-plugin-memes-api": "0.1.30",
    "koishi-plugin-message-counter": "2.1.4",
    "koishi-plugin-monetary": "0.1.3",
    "koishi-plugin-monetary-rank": "0.0.6",
    "koishi-plugin-music-downloadvoice-api": "1.5.0",
    "koishi-plugin-novelai": "1.25.0",
    "koishi-plugin-onebot-qqlike": "1.0.5",
    "koishi-plugin-original-message-log": "1.0.2",
    "koishi-plugin-pjsk-pptr": "1.1.5",
    "koishi-plugin-poke": "0.2.0",
    "koishi-plugin-puppeteer": "3.9.0",
    "koishi-plugin-qq-thumbs-up": "0.0.1",
    "koishi-plugin-qqurl-bypass": "1.1.3",
    "koishi-plugin-rate-limit": "2.0.4",
    "koishi-plugin-re-driftbottle": "1.3.1",
    "koishi-plugin-rr2": "3.0.3",
    "koishi-plugin-schedule": "5.0.1",
    "koishi-plugin-screenshot-console": "1.1.0",
    "koishi-plugin-sd-switch": "1.2.1",
    "koishi-plugin-shutdown": "0.3.1",
    "koishi-plugin-silk": "1.5.1",
    "koishi-plugin-smmcat-fishtime": "0.7.3",
    "koishi-plugin-smmcat-genshintts": "0.0.4",
    "koishi-plugin-smmcat-saima": "0.3.18",
    "koishi-plugin-smmcat-signin": "0.1.3",
    "koishi-plugin-smmcat-tahuawocai": "0.0.11",
    "koishi-plugin-smmcat-transfermoney": "0.1.1",
    "koishi-plugin-status-image": "1.0.0",
    "koishi-plugin-sudo": "2.1.2",
    "koishi-plugin-sus-chat": "0.13.2",
    "koishi-plugin-telemetry": "0.2.3",
    "koishi-plugin-theme-vanilla": "1.0.6",
    "koishi-plugin-toutai": "1.1.8",
    "koishi-plugin-translator-deepl": "1.1.0",
    "koishi-plugin-verifier": "1.1.1",
    "koishi-plugin-waifu": "1.8.0",
    "koishi-plugin-wordle-game": "2.5.9"
(复制的package.json)

请问这种情况应该怎么解决呢

2 个赞

我猜测也许可能大概是因为qq平台自带一个at机器人?然后插件收到的信息也是带at的,所以会导致收到的内容和预期不同,从而导致不返回内容(?)

4 个赞

是的嗯,QQ平台接收到的是

[at id=……] 指令 参数

4 个赞

唔,感谢解答
但是它画我猜其他的官方机器人是可以用的,猜词最新版也是特意加上了不加指令触发的功能
所以我更怀疑是插件之间冲突了之类的,但是排查不出来,不知道是不是还有什么其他的原因导致这个问题么)

2 个赞

阿巴)创建个新的bot然后单独安装meme-api然后启动qq适配器试试?…如果依旧不能够使用的话应该就不是插件冲突

3 个赞

好哦,我去试一下

2 个赞

感谢楼楼发帖。

感到抱歉,现在才看到帖子。


关于 pjsk-pptr 的日志警告,已在新版本 v 1.1.6 修复。


猜词插件的测试情况:

v 2.5.9,QQ 官方机器人可以直接猜词。

4 个赞