使用QQ官方机器人接口,发送其他消息(文字,图片等)均正常,只有使用music-downloadvoice-api
这个插件点歌最后发送语音消息时发不出来。
完整的报错信息:
2024-06-28 23:32:17 [W] session Error: Authorization Required
at [cordis.invoke] (/koishi/node_modules/@cordisjs/plugin-http/lib/index.cjs:345:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Proxy.file (/koishi/node_modules/@cordisjs/plugin-http/lib/index.cjs:414:49)
at async QQMessageEncoder.visit (/koishi/node_modules/@satorijs/adapter-qq/lib/index.cjs:1157:24)
at async QQMessageEncoder.render (/koishi/node_modules/@satorijs/core/lib/index.cjs:586:7)
at async QQMessageEncoder.send (/koishi/node_modules/@satorijs/core/lib/index.cjs:615:5)
at async Proxy.sendMessage (/koishi/node_modules/@satorijs/core/lib/index.cjs:346:22)
at async Command.<anonymous> (/koishi/node_modules/koishi-plugin-music-downloadvoice-api/lib/index.js:246:9)
at async Array.<anonymous> (/koishi/node_modules/@koishijs/core/lib/index.cjs:1114:14)
at async Command.execute (/koishi/node_modules/@koishijs/core/lib/index.cjs:1128:22)
adapter-qq设置: