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)...
Error when searching for a song
Hey there! Im getting this very weird error when trying to play a simple song, I copied the example in the docs so far, only adjusted it a bit for my bots structure
error
(node:6856) [DEP0128] DeprecationWarning: Invalid 'main' field in 'G:\k\node_modules\moonlink.js\dist\package.json' of 'dist/index.js'. Please either fix that or report it to the module author
Music not playing but connecting
Hey there! My music doesn't play when connecting. I think it's because I do not have a raw event. I'm not using discordjs or any library, I have a custom implementation. Any clue how I could get the info needed to play music without the raw event or make something similar?
In debug, connected is false
The bot is connected but the music is not playing, I saw the debug and found this