Connecting error
I'm consistently getting 'No results found!' and there's no sign that the bot is connecting to Lavalink, even though the connection details are correct.
a reminder to myself
[DEBUG]: Moonlink.js > Node (MAIN) has disconnected with code 1006 and reason .
C:\Users\1luca\Desktop\moonlink.js\dist\src\entities\Node.js:578
const destination = targetNode this.manager.nodes.sortByUsage(this.manager.options.sortTypeNode "players")[0];
^
...
Bot joint not the voice
After removing the bot by right-clicking and disconnecting, it will no longer join the voice the next time. However,
player.connect({ setDeaf: true })
still returns true.Spotify Error
Hello, we have had the problem for some time that the bot wants to connect to Spotify. However, we have not activated it anywhere and do not need it. We don't know where the error is coming from. We create our player as follows:
```js
client.moonlink = new Manager({
nodes: config.lavalink.nodes,...
Not enough sessions remaining error
[COMMANDS] Registering command: volume from file commands/music/volume.js
/home/king/Desktop/music-bot/node_modules/@discordjs/ws/dist/index.js:1458
throw new Error(
^
...
Bot crashes when weird string is searched
One of my users found a way to crash the bot by searching a weird string, this is in console

Start playing the wrong track
Currently we have the problem when the player is destroyed and then recreated that it starts for 3 seconds with the old track, but then cancels it and starts again with the right one.
Solution:
Thank you 🙂
player.connect() not working
It seems that player.connect() dosen't work in the current version, even though it returns a true
Cannot read properties of undefined (reading 'encoded')
Hi, I think there is a problem with this library. Since last week, I have been getting intermittent errors saying that encoded values cannot be read.```
TypeError: Cannot read properties of undefined (reading 'encoded')
at Node.message (/home/dodam/dbts/node_modules/moonlink.js/dist/src/entities/Node.js:140:246)
at WebSocket.emit (node:events:519:28)
at Receiver.receiverOnMessage (/home/dodam/dbts/node_modules/ws/lib/websocket.js:1220:20)...
let tracks = req.data.tracks.map((data) => new index_1.Track(data, requester));
I have 2 problems
1. My bot is connected to Lavalink but don't log in console like
...
[0] "HStudio - BKK" was connected.
[0] "HStudio - BKK" was connected.
Autoplay - Bug?
Hi guys, I think I have found a bug. If I set the autoplay to "false" in the play command, and then activate the autoplay, the autoplay is set to "off" when it should be set to "true".
SyntaxError: Unexpected end of JSON input
When I try to play music this error happens.
The bot connects to the voice channel but nothing sounds.
Error:...
SyntaxError: Unterminated string in JSON at position 5788
SyntaxError: Unterminated string in JSON at position 5788
at JSON.parse (<anonymous>)
at MoonlinkNode.message (/home/container/bot/node_modules/moonlink.js/dist/src/@Entities/MoonlinkNode.js:139:28)
at MoonlinkWebSocket.emit (node:events:518:28)
at Socket.<anonymous> (/home/container/bot/node_modules/moonlink.js/dist/src/@Services/MoonlinkWebSocket.js:120:34)...
<MoonlinkPlayer>.skip() bug
When using the skip method, the <MoonlinkPlayer>.playing is returned to false
Lavalink problem or Module problem (Need Help)
Hello, I'm trying to develop a musicbot using the moonlink.js module, and I wonder if it's a module problem or a labarlink problem.
At first, I wrote and developed the source code myself, but Labarink caused an error, so I proceeded with a testbot just in case, but the same problem occurs....
Solution:
Feel free to give a sincere feedback about NodeLink ❤️
Cannot read properties of undefined (reading 'shard')
client.moon = new MoonlinkManager(
[
{
host: "localhost",
port: 2333,...
JSON Parse errors while sending the payload
before this it was posting errors with this token
♥
in JSON, so i tried sanitizing it but resulted with a blank output, since it didnt worked i then removed the bot from that guild which had that token in its name. still the issue persists with a blank token?
fyi trying to migrate from a deprecated client to moonlink
glad to see if theres a workaround for it
:purr_love: thank you...
error when starting / connecting to node
```TypeError: require(...).setDefaultAutoSelectFamily is not a function
at new MoonlinkWebSocket (C:\Users\paul0\Desktop\lavabeats\node_modules\moonlink.js\dist\src@Services\MoonlinkWebSocket.js:32:24)
at MoonlinkNode.connect (C:\Users\paul0\Desktop\lavabeats\node_modules\moonlink.js\dist\src@Entities\MoonlinkNode.js:105:23)
at new MoonlinkNode (C:\Users\paul0\Desktop\lavabeats\node_modules\moonlink.js\dist\src@Entities\MoonlinkNode.js:66:14)
at Nodes.add (C:\Users\paul0\Desktop\lavabeats\node_modules\moonlink.js\dist\src@Utils\Structure.js:165:30)...