player.connect() not working

It seems that player.connect() dosen't work in the current version, even though it returns a true
17 Replies
Chresh
ChreshOP•7d ago
this has been checked with the example script provided on the moolink.js website no errors are returned
ComicallyBad
ComicallyBad•7d ago
are you using player.setVoiceChannelId(voiceChannel.id) before player.connect()?
1Lucas1.apk
1Lucas1.apk•6d ago
The examples in the docs have some problems, you can use the Github testBot which are working correctly. Tomorrow or the day after morning I will correct them
Chresh
ChreshOP•6d ago
its set when creating the player
Chresh
ChreshOP•6d ago
No description
Chresh
ChreshOP•6d ago
thank you
1Lucas1.apk
1Lucas1.apk•6d ago
A possible issue is the JSON.parse is missing in sendPayload
Chresh
ChreshOP•6d ago
No description
Chresh
ChreshOP•6d ago
that seems to be the issue i have a another one to follow up
MEE6
MEE6•6d ago
GG @Chresh, you just advanced to level 1!
1Lucas1.apk
1Lucas1.apk•6d ago
there in send from shard send(JSON.parse(payload))
Chresh
ChreshOP•6d ago
did that as it is in the test bot it works i have another issue related to lavalink/nodelink not for this issue though
ComicallyBad
ComicallyBad•6d ago
what's the other issue
Chresh
ChreshOP•6d ago
lavalink/nodelink throws an error when loading a song it was possible to solve by using a public node
ComicallyBad
ComicallyBad•6d ago
ah, I don't use nodelink but I know there's been issues with it lately
Chresh
ChreshOP•6d ago
i solved the issue by upgrading the version of the youtube source version in lavalink
ComicallyBad
ComicallyBad•6d ago
yeah you'll have to do that quite often. The youtube plugin breaks pretty often

Did you find this page helpful?