快进到以后进了群就是一句我操死你的妈砸脸
接口都有了,谁部署一下就行了。然后你就写请求参数的插件,然后 h.audio 就完事了
求的就是一个请求参数的对接插件
接口部署了没,地址发一下٩( ‘ω’ )و
啊哈哈哈,这个看起来也很有趣
我还没部署,我等对接插件有了再部署
啊哈哈,我试试
没准可以开发活字洛天依( 想起来年轻时候做的傻事了2333
啊哈哈哈,已经可以啦

请前往 shangxueink/HUOZI_koi: ottohzys (github.com) 部署后端,
或者使用我临时部署的测试后端(嘛,应该会长期运行(几个月吧))
http://146.56.251.70:8989/api/make
把上面这个填入koishi插件配置项里就可以直接使用了唔
或者你也可以在这里预览效果?
http://146.56.251.70:8989/
看起来效果还不错
好快的做
冲刺冲刺冲
session Error: Error with request send_private_msg, args: {“user_id”:3520799315,“message”:[{“type”:“record”,“data”:{“file”:“http://127.0.0.1:10020/tempAudioOutput/1757520837_0_a8929b14b0fe41a0.wav","cache”:0}}]}, retcode: 1200
at _Internal._get (/koishi/node_modules/koishi-plugin-adapter-onebot/lib/index.js:119:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Internal. [as sendPrivateMsg] (/koishi/node_modules/koishi-plugin-adapter-onebot/lib/index.js:162:20)
at async OneBotMessageEncoder.flush (/koishi/node_modules/koishi-plugin-adapter-onebot/lib/index.js:763:227)
at async OneBotMessageEncoder.send (/koishi/node_modules/@satorijs/core/lib/index.cjs:755:5)
at async Proxy.sendMessage (/koishi/node_modules/@satorijs/core/lib/index.cjs:487:22)
at async _Command. (/koishi/node_modules/koishi-plugin-huozi-generator/lib/index.js:70:9)
at async Array. (/koishi/node_modules/@koishijs/core/lib/index.cjs:1079:14)
at async _Command.execute (/koishi/node_modules/@koishijs/core/lib/index.cjs:1093:22)
at async /koishi/node_modules/@koishijs/core/lib/index.cjs:2049:22
好像不支持 onebot
支持的。
你需要先检查在onebot协议端能否访问 http://127.0.0.1:10020/tempAudioOutput/1757520837_0_a8929b14b0fe41a0.wav
另外你需要检查是否配置了 ffmpeg、silk等发送语音必须的服务

