Merge pull request #26 from nikoyoke1/master

🐞 fix:修复群语音发送
This commit is contained in:
Zhiyu 2024-10-16 11:40:25 +08:00 committed by GitHub
commit 170f97d133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1702,7 +1702,7 @@ async neteaseStatus(e, reck) {
// 下载音乐 // 下载音乐
downloadAudio(url, this.getCurDownloadPath(e), title, 'follow', musicExt).then(async path => { downloadAudio(url, this.getCurDownloadPath(e), title, 'follow', musicExt).then(async path => {
// 发送语音 // 发送语音
if (!musicExt == 'mp4') { if (musicExt != 'mp4') {
await e.reply(segment.record(path)); await e.reply(segment.record(path));
} }
// 上传群文件 // 上传群文件