MIA
🎶 Moonlink.js - Imagine a Music Application
Join the 🎶 Moonlink.js - Imagine a Music Application server to ask questions!
JoinMIA
🎶 Moonlink.js - Imagine a Music Application
Join the community to ask questions about 🎶 Moonlink.js - Imagine a Music Application and get answers from other members.
JointrackStart Event works 50% of the time
sometimes the embed from the trackStart event sends but sometimes it doesn't. it seems to go in an order of (sends, doesnt send, sends, doesnt send) etc..

@Moonlink(Database) - Failed to save data, error:
An error occurred, I don't know what to do
May I ask for your help? please...
(Bug): Error synchronizing information when connection is resumed
Error: @Moonlink(Player) - cannot change volume while the player is not playing
at MoonlinkPlayer.setVolume (C:\Users\user\Desktop\Miona\node_modules\.pnpm\[email protected]\node_modules\moonlink.js\dist\src\@Entities\MoonlinkPlayer.js:262:19)
at Object.execute (C:\Users\user\Desktop\Miona\src\interactions\commands\music\volume.js:51:22)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.execute (C\Users\user\Desktop\Miona\src\events\InteractionCreate.js:46:17)
Error: @Moonlink(Player) - cannot change volume while the player is not playing
at MoonlinkPlayer.setVolume (C:\Users\user\Desktop\Miona\node_modules\.pnpm\[email protected]\node_modules\moonlink.js\dist\src\@Entities\MoonlinkPlayer.js:262:19)
at Object.execute (C:\Users\user\Desktop\Miona\src\interactions\commands\music\volume.js:51:22)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.execute (C\Users\user\Desktop\Miona\src\events\InteractionCreate.js:46:17)
Solution:
Thanks for the explanation, I'll fix it as soon as I finish all the changes I'm making
Lavalink plugins not working?
My lavalink plugins dont seem to be able to load, this is the log output.
Access to client instance from player
Hey everyone, I'd like to know if there's a way to access the client object from the player. If not, I'd like to know if there's a way to get the actual channel (TextChannel object) from the player.textChannel attribute
Cannot create MoonlinkManager()
When I try to create the Moonlink Manager, I get no information in the console.
No login attempt is logged on the lavalink host.
Also, the IDE says that it is not possible to create an interface.
...

question
question to the new update:
does that new update mean i can add JUST the encoded track to the player and it will play?
so this for example
...
encoded: 'QAAAqAMAEUh1bWJlIC0gZmFudGFzbWFzAAVIdW1iZQAAAAAABGEYAAtlMmM4TmtOWTQxVQABACtodHRwczovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PWUyYzhOa05ZNDFVAQA0aHR0cHM6Ly9pLnl0aW1nLmNvbS92aS9lMmM4TmtOWTQxVS9tYXhyZXNkZWZhdWx0LmpwZwAAB3lvdXR1YmUAAAAAAAAAAA==',
encoded: 'QAAAqAMAEUh1bWJlIC0gZmFudGFzbWFzAAVIdW1iZQAAAAAABGEYAAtlMmM4TmtOWTQxVQABACtodHRwczovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PWUyYzhOa05ZNDFVAQA0aHR0cHM6Ly9pLnl0aW1nLmNvbS92aS9lMmM4TmtOWTQxVS9tYXhyZXNkZWZhdWx0LmpwZwAAB3lvdXR1YmUAAAAAAAAAAA==',
Lavalink&Bot saying it's playing, but Bot wont join the channel
Hi,
Im new to moonlink.js and have worked with erela.js years ago, so i want to make a Radio Bot that should start all streams automatically when the Bot gets started. The Lavalink recieves the requests, and the bot also answers that it started playing, but the bot wont connect to my voice channel. I've included all Intents, the Bot has Administrator Perms, i've already tried to fetch the guild/all channels on startup but still it's refusing to connect to the Voice Channel. If i run the same command manually it works fine. I think it has something to with the cache but idk. Maybe someone can help!
I do not recieve any errors in my bot/lavalink.
The code is here: ...
error in v3
unhandledRejection
Bot: Blocks Night
[Error_Handling] :: Uncaught Exception/Catch (MONITOR)
TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "Client-Name"
at ClientRequest.setHeader (node:_http_outgoing:579:3)...
Possible AsyncEventEmitter memory leak detected. 11 ready listeners added to WebSocketShard. Use emi
Possible AsyncEventEmitter memory leak detected. 11 ready listeners added to WebSocketShard. Use emitter.setMaxListeners() to increase the limit.
error in play command
when i play a song or playlist the bot respone with the song name and the song add to queue but the bot not playing any thing in voice channel
Lavalink error when setting up basic bot
Hi, I'm just trying to a get bot similar to the one in the readme running. I am creating a new MoonlinkManager on my bot with the correct credentials for my Lavalink, some sort of request does get through to Lavalink but it throws and error
No mapping for GET /v4/websocket
and then eventually times out. Any ideas for the cause of this? Happy to add more detail. Thankscheck server status and change server
my idea is to add 10 lavalink servers and each one can have max 100 bots on it
how can i make the code check if the server is at 100 bot or not and if it is how can the bot disconnect and re connect to another one...
song uri
if ${track.title} is the title what is the url i tried ${track.uri} and been searching the docs