Can't play audio using discord.py
romainkarpinski (0)

Hi, when i try to play audio using discord.py, the bot correctly connects to the voice channel, but then nothing happens, and i dont get any error message... Here is my code:
if msg.startswith("!join"):
channel = message.author.voice.channel
voice = await channel.connect()
voice.play(discord.FFmpegPCMAudio("TEST.wav"))

have i done sthg wrong?

You are viewing a single comment. View All
romainkarpinski (0)

@VulcanWM
this code isnt working, i get the error:
YouTube said: Unable to extract video data