From 2ec96dcc9cd87be6b587440cf53a2e56c7ca86c5 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 26 May 2025 15:12:27 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/music/main.py b/plugins/music/main.py index 59759bf..a317f65 100644 --- a/plugins/music/main.py +++ b/plugins/music/main.py @@ -212,6 +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) + self.LOG.debug(f"voice_base64:{voice_base64}") res = await bot.send_voice_message(wxid=receiver, voice=voice_base64, format="MP3") self.LOG.info(f"发送音乐消息 voice res:{res}") return True