Bot dont Play audio
Hello my bot dont play but i dont know why
37 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffhe join but he dont play
The
connection
didn't subscribe the player
. Call the expression connection.subscribe(player)
before playing audio sourceokay
he dont play :c
it seems weird :Thonk: check the player status:
check if the message appears to ensure the player plays the audio source
ok he play
but 0 sound
then the problem is about audio source
shit
but
the file path maybe the problem
is the path relatvie to the entry file(like index.js)?
check the file "../test.mp3"'s path
is the "main.js" file the entry of the program?
yes
and the commande is in command
the relative paths are calculated with the entry file's directory
so the mp3 file's path has to be "./test.mp3"
omggg
thank youu
it works differently when you import some modules
ah okayy
because i have this
yes
check the player sends its sound
yes is good
thank you man
:blobreachReverse:
:blobreachReverse:
you know how use ytdl ?
yeah
lol im noob
:dogeHaHa:
always this erreur
recently ytdl has some connection problems
this error is not just for you
Ow okayy
:caillou:
thx you ❤️
:blobreachReverse:
your good dev 🙂
thx :meguFace:
:blobreachReverse: