其他场景使用。

This commit is contained in:
liuwei
2025-05-26 15:16:11 +08:00
parent 2ec96dcc9c
commit 6687e2c6f6

View File

@@ -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: