Open Hikari16665 opened 7 months ago
如题,我编写了一个发送坤坤歌曲的功能, 使用Lagrange适配器发送语音时出现如下错误: 可以确认目标目录确实含有此文件
[TRSSYz][15:40:05.412][ERRO] [624354530] 发送消息错误 [ { type: 'record', file: 'C:\Users\Administrator\Desktop\NotRainy\kun\song\45.mp3', name: undefined },
] ApiRejection { code: -60, message: 'empty message' } [TRSSYz][15:40:05.436][ERRO] [624354530] Error: empty message at Converter.convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrange-Plug in\Model\lagrangejs\lib\message\converter.js:81:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async _makeFake (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrange-Plugin \Model\lagrangejs\lib\entities\contactable.js:82:31) at async Promise.all (index 0) at async Group.makeForwardMsg (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagr ange-Plugin\Model\lagrangejs\lib\entities\contactable.js:129:23) at async Converter.forward (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrang e-Plugin\Model\lagrangejs\lib\message\converter.js:282:26) at async Converter._convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagran ge-Plugin\Model\lagrangejs\lib\message\converter.js:93:13) at async Promise.allSettled (index 0) at async Converter.convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrang e-Plugin\Model\lagrangejs\lib\message\converter.js:61:13) at async Group._preprocess (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrang e-Plugin\Model\lagrangejs\lib\entities\contactable.js:66:13) { [stack]: [Getter/Setter: 'Error: empty message\n' + ' at Converter.convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\L agrange-Plugin\Model\lagrangejs\lib\message\converter.js:81:19)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async _makeFake (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lag range-Plugin\Model\lagrangejs\lib\entities\contactable.js:82:31)\n' + ' at async Promise.all (index 0)\n' + ' at async Group.makeForwardMsg (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\p lugins\Lagrange-Plugin\Model\lagrangejs\lib\entities\contactable.js:129:23)\n' + ' at async Converter.forward (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plug ins\Lagrange-Plugin\Model\lagrangejs\lib\message\converter.js:282:26)\n' + ' at async Converter._convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plu gins\Lagrange-Plugin\Model\lagrangejs\lib\message\converter.js:93:13)\n' + ' at async Promise.allSettled (index 0)\n' + ' at async Converter.convert ('... 286 more characters], [message]: 'empty message' } [TRSSYz][15:40:05.470][ERRO] [624354530] 发送消息错误 [ { type: 'forward', message: [ { user_id: 80000000, nickname: '匿名消息', message: [ { type: 'record', file: 'C:\Users\Administrator\Desktop\NotRainy\kun\song\45.mp3', name: undefined },
] }, { user_id: 80000000, nickname: '匿名消息', message: [ '坤曲', [length]: 1 ] }, [length]: 2 ]
},
] ApiRejection { code: -60, message: 'empty message' }
代码在这里
如题,我编写了一个发送坤坤歌曲的功能, 使用Lagrange适配器发送语音时出现如下错误: 可以确认目标目录确实含有此文件
[TRSSYz][15:40:05.412][ERRO] [624354530] 发送消息错误 [ { type: 'record', file: 'C:\Users\Administrator\Desktop\NotRainy\kun\song\45.mp3', name: undefined },
] ApiRejection { code: -60, message: 'empty message' } [TRSSYz][15:40:05.436][ERRO] [624354530] Error: empty message at Converter.convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrange-Plug in\Model\lagrangejs\lib\message\converter.js:81:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async _makeFake (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrange-Plugin \Model\lagrangejs\lib\entities\contactable.js:82:31) at async Promise.all (index 0) at async Group.makeForwardMsg (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagr ange-Plugin\Model\lagrangejs\lib\entities\contactable.js:129:23) at async Converter.forward (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrang e-Plugin\Model\lagrangejs\lib\message\converter.js:282:26) at async Converter._convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagran ge-Plugin\Model\lagrangejs\lib\message\converter.js:93:13) at async Promise.allSettled (index 0) at async Converter.convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrang e-Plugin\Model\lagrangejs\lib\message\converter.js:61:13) at async Group._preprocess (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lagrang e-Plugin\Model\lagrangejs\lib\entities\contactable.js:66:13) { [stack]: [Getter/Setter: 'Error: empty message\n' + ' at Converter.convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\L agrange-Plugin\Model\lagrangejs\lib\message\converter.js:81:19)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async _makeFake (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plugins\Lag range-Plugin\Model\lagrangejs\lib\entities\contactable.js:82:31)\n' + ' at async Promise.all (index 0)\n' + ' at async Group.makeForwardMsg (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\p lugins\Lagrange-Plugin\Model\lagrangejs\lib\entities\contactable.js:129:23)\n' + ' at async Converter.forward (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plug ins\Lagrange-Plugin\Model\lagrangejs\lib\message\converter.js:282:26)\n' + ' at async Converter._convert (C:\msys64\home\Administrator\TRSS_AllBot\TRSS-Yunzai\plu gins\Lagrange-Plugin\Model\lagrangejs\lib\message\converter.js:93:13)\n' + ' at async Promise.allSettled (index 0)\n' + ' at async Converter.convert ('... 286 more characters], [message]: 'empty message' } [TRSSYz][15:40:05.470][ERRO] [624354530] 发送消息错误 [ { type: 'forward', message: [ { user_id: 80000000, nickname: '匿名消息', message: [ { type: 'record', file: 'C:\Users\Administrator\Desktop\NotRainy\kun\song\45.mp3', name: undefined },
},
] ApiRejection { code: -60, message: 'empty message' }