Closed RVZWN closed 4 months ago
Hi @RVZWN , When I just checked now, it shows an error "discord.ext.commands.errors.CommandInvokeError: Command raised an exception: RuntimeError: PyNaCl library needed in order to use voice" in the console (not sure why this wasn't happening before). Installing the PyNaCl library fixed the issue for me. Please do a pip install from the console and see if it fixes the issue for you✌
@Kakarot-2000 I have the PyNaCl up to date (1.4.0) ... still can't find the issue, I uploaded the /bin folder from ffmpeg and it still does not work
@Kakarot-2000 and also, in my console there is are no errors as far as I can see
@Kakarot-2000 and again, I am doing everything, coding, hosting, etc on repl.it, is a website
Oh yeah, and also @Kakarot-2000, when I'm making him join the channel and play, it does not really play the song but I can see that he recognises the song, it appears in the files as shown and I can play the song in the perl.it itself not on discord..
@Kakarot-2000 these are the packs that I've installed
Hey @RVZWN , have you tried testing locally before deploying? If there were any errors specific to the code then it should show up when testing locally.
@Kakarot-2000 Yes, I tried.. and nothing seems to be wrong
@Kakarot-2000 I think I solved it, it takes a good while until the bot starts singing but I think I nailed it, I simply removed every other specification in that command, leaving it like this : voice_channel.play(discord.FFmpegPCMAudio(filename))
That fixed it, idk :))
@RVZWN Glad to know that it got fixed. What part of the code did you remove for this? Was it from the play() method or somewhere else?
@RVZWN I tried to simplify the command as you did, but unfortunately it keep telling me it's not connected to the voice channel without printing any error
I host my bot on repl.it I downloaded the files, it plays the song in my files, I see the title and when I click it there it is in an audio format, but the bot itself does not play it and tells me he isn t connected to a voice channel, help. I followed the steps from the other 2 issues but nothing worked, please help !!!!