我用TextIO创建了with open(filepath,'r',encoding='ISO-8859-1') as mp3对象,然后在这种情况下,我使用了await channel.send(file=discord.File(mp3))(在以后的测试中,即使将discord.File调用移到另一行,错误也在发送方法中)。PycharmProjects/lyrics bot/main.py", line 75, in on_message
await mess
我正在使用Amazon Polly for TTS,但我无法获取如何将转换后的语音保存为我计算机中的.mp3文件response = client.synthesize_speech
(Text = "Hello my name is Shubham", OuptutFormat = "mp3", VoiceId = 'Aditi