Wall-E icon indicating copy to clipboard operation
Wall-E copied to clipboard

Doesn't play

Open Shifulor opened this issue 4 years ago • 4 comments

Hi, great documentation, many thanks. My problem is, that my bot says not connected to a voice channel even tho he is. Already checked the other issue and did the thing With the path. Link to code: https://pastebin.com/qx2s1hC1

Shifulor avatar May 17 '21 16:05 Shifulor

Hey @Shifulor ! I think I found the problem in the code, on line 86 you have added the argument 'filename' along with the string of executable. Change it from voice_channel.play(discord.FFmpegPCMAudio(executable="/Users/lorenzlorenzo/Documents/Python/Discord/Daybot/bin/ffmpeg, source=filename")) to voice_channel.play(discord.FFmpegPCMAudio(executable="/Users/lorenzlorenzo/Documents/Python/Discord/Daybot/bin/ffmpeg.exe", source=filename))

Let me know if this works 😄

Kakarot-2000 avatar May 18 '21 02:05 Kakarot-2000

Hi, m really sorry, I just now saw, that you already replied. Sadly you idea dent help, it still doesn't work. Maybe its because im on Mac, so exes can't be handled? Screenshot 2021-05-22 at 16 09 56

Shifulor avatar May 22 '21 14:05 Shifulor

Hey @Shifulor , Sorry for the late reply, can you post a screenshot of the console error messages you're getting when hitting play?

Kakarot-2000 avatar Aug 18 '21 16:08 Kakarot-2000

i get the same error, on windows and i still get the not connected to vc error

ghost avatar Jan 12 '23 22:01 ghost