From d403de5f45063c66c490ef98d8f3216d12a5f0a6 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 26 May 2025 15:09:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=9F=B3=E4=B9=90=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/music/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/music/main.py b/plugins/music/main.py index a6131fd..59759bf 100644 --- a/plugins/music/main.py +++ b/plugins/music/main.py @@ -212,7 +212,7 @@ class MusicPlugin(MessagePluginInterface): res = await bot.send_app_message(wxid=receiver, xml=xml_message, type=0) self.LOG.info(f"发送音乐消息 res:{res}") voice_base64 = await self.url_to_base64(play_url) - res = await bot.send_voice_message(wxid=receiver, voice=voice_base64,format="AMR") + res = await bot.send_voice_message(wxid=receiver, voice=voice_base64, format="MP3") self.LOG.info(f"发送音乐消息 voice res:{res}") return True