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•5mo ago
this has been checked with the example script provided on the moolink.js website no errors are returned
ComicallyBad
ComicallyBad•5mo ago
are you using player.setVoiceChannelId(voiceChannel.id) before player.connect()?
1Lucas1.apk
1Lucas1.apk•5mo 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•5mo ago
its set when creating the player
Chresh
ChreshOP•5mo ago
No description
Chresh
ChreshOP•5mo ago
thank you
1Lucas1.apk
1Lucas1.apk•5mo ago
A possible issue is the JSON.parse is missing in sendPayload
Chresh
ChreshOP•5mo ago
No description
Chresh
ChreshOP•5mo ago
that seems to be the issue i have a another one to follow up
MEE6
MEE6•5mo ago
GG @Chresh, you just advanced to level 1!
1Lucas1.apk
1Lucas1.apk•5mo ago
there in send from shard send(JSON.parse(payload))
Chresh
ChreshOP•5mo 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•5mo ago
what's the other issue
Chresh
ChreshOP•5mo ago
lavalink/nodelink throws an error when loading a song it was possible to solve by using a public node
ComicallyBad
ComicallyBad•5mo ago
ah, I don't use nodelink but I know there's been issues with it lately
Chresh
ChreshOP•5mo ago
i solved the issue by upgrading the version of the youtube source version in lavalink
ComicallyBad
ComicallyBad•5mo ago
yeah you'll have to do that quite often. The youtube plugin breaks pretty often

Did you find this page helpful?