Moonlink.js > Player#setVolume - volume is not a number or is out of range (0-1000).
This error was happended but I have no clue why also with autoplay
20 Replies
The slash command return normal value for this command it's return normal number
Can you try with the dev branch?
npm uninstall moonlink.js
npm i https://github.com/Ecliptia/moonlink.js#dev
There were some validation logic errors that were fixedok
GG @Nonsen, you just advanced to level 3!
[play tool] Error playing "party 4 u": TypeError: Cannot read properties of undefined (reading 'players')
at D:\Project\Nyx\node_modules\moonlink.js\dist\src\management\NodeManager.js:165:36
at Array.sort (<anonymous>)
at NodeManager.sortByUsage (D:\Project\Nyx\node_modules\moonlink.js\dist\src\management\NodeManager.js:159:22)
at PlayerManager.create (D:\Project\Nyx\node_modules\moonlink.js\dist\src\management\PlayerManager.js:28:43)
at Manager.createPlayer (D:\Project\Nyx\node_modules\moonlink.js\dist\src\core\Manager.js:243:29)
at Object.execute (D:\Project\Nyx\services\commands\music\play.js:104:48)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Client.<anonymous> (D:\Project\Nyx\services\events\interactionCreate.js:28:13)
(node:23332) Warning: Supplying "ephemeral" for interaction response options is deprecated. Utilize flags instead.
Hmm, can you show the play command
Oh ok
I was remove the type check
Yes it's working now
awesome :thumbsUp:
And should I be concern for this too?

It's like randomly happend for some lavalink server
shell i put it on issues?
Is there a certain URL/Song that produces that error? I'll look for how that could happen
I didn't log that, their is a lot of people using its
Here what I got for a last few days


Did you get this error while on the dev branch? Or was this an older error?
5 days ago for RequestBy
5 hours ago for title and source
I just redeploy maybe railway update the lib
Maybe the latest not dev
I'd test with the dev branch for now to see if you get that error again, if you do, the Moonlink Debug and payload will also be helpful
will do thank you
ah @1Lucas1.apk I think you made some updates after I created my pull request, pushed your updates, but then merged my pull request.
I see you may have fixed this issue here: https://github.com/Ecliptia/moonlink.js/commit/2c43cf18d8761e65cff2040b10423a1e475f62ca#diff-ac3b6fbed7d3486d3af63cedc085c35acb1ab0ec2a7cf14819d6f41041704607R47-R597
But the changes may have been reverted after the pull request merge
GitHub
feat: enhance node plugin and autoplay functionality ยท Ecliptia/mo...
Details:
- Added
capabilities
and plugins
properties to Node
class.
- Integrated plugin load/unload/update mechanisms for nodes.
- Enhanced autoplay logic with extended support for multip...I'm not sure why the pull request would've overwritten the whole file and not just the changes
may have overwritten, I used merge to join the pull requests, but I didn't properly check if it overwrote something