From 6687e2c6f6f8c5999174ae0e268807b5a2a4156b Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 26 May 2025 15:16:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=9C=BA=E6=99=AF=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/music/main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/music/main.py b/plugins/music/main.py index a317f65..f4982de 100644 --- a/plugins/music/main.py +++ b/plugins/music/main.py @@ -211,10 +211,6 @@ class MusicPlugin(MessagePluginInterface): self.LOG.info(f"发送音乐消息:{xml_message}") 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 except Exception as e: