Kakarot-2000 / Wall-E

Discord Bot using Python to play music
27 stars 31 forks source link

Doesn't play #2

Open Shifulor opened 3 years ago

Shifulor commented 3 years ago

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

Kakarot-2000 commented 3 years ago

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 _voicechannel.play(discord.FFmpegPCMAudio(executable="/Users/lorenzlorenzo/Documents/Python/Discord/Daybot/bin/ffmpeg, source=filename")) to _voicechannel.play(discord.FFmpegPCMAudio(executable="/Users/lorenzlorenzo/Documents/Python/Discord/Daybot/bin/ffmpeg.exe", source=filename))

Let me know if this works 😄

Shifulor commented 3 years ago

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
Kakarot-2000 commented 3 years ago

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

ghost commented 1 year ago

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