🎢 Moonlink.js - Imagine a Music Application

MIA

🎢 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.

Join

issues

suggestion

help

Directly play music from URLs

How to play music from urls that are not youtube/spotify, like direct link to the music files
Solution:
Just give it the link in the query param and lavalink will handle it if http source is enabled in Lavalink.

This error

When running latest Moonlink.js, the bot joins and when tries to play music it gives an error: "TypeError: Cannot read properties of undefined (reading 'title')", when debugging I've found that bot receives this error from any node that I use, local and external. How do I fix it? (Moonlink's inbuilt debug didn't show anything out of ordinary)
No description

Why this error

Node connected but not playing
No description

bot play music but not sound

Good evening, I'm having an issue where my bot is having trouble playing music. Lavalink is correctly configured with plugins for YouTube, the request is working fine, and the bot is connecting to the voice channel, but it still doesn't play anything. Even after executing the player.play();.
Solution:
obg pela atenção

application.yml file with YouTube plugins

Good afternoon! Does anyone have an example of an application.yml file with YouTube plugins configured? I'd like to set it up in my application. I'm using Moonlink.js with a client. Thanks in advance!
Solution:
ok, thanks for the help

How to get list of all players in moonlink v4?

I'm creating a function that editing player message to actual data and I don't know how to get list of all players in moonlink :/

automatically music

When I play a song and add another song to the queue, when the first song ends, the second song doesn't automatically start playing. I have to manually use the skip command to make the second song play. I need help finding a solution for this auto-play queue issue. The problem...

How to use filters in v4?

Filters seem to be removed from the player in the new version, how do you adjust filters now?

Switching from another client, having some issues

First issue: - Moonlink is connecting to Lavalink, however, the nodeCreate event never triggers. Not sure why this is, I tried switching to Moonlink once before and had the same issue before. Second issue: - I'm unable to get the bot to join the VC. This isn't a permissions/intents/partials issue. I've ran into this before, it's usually related to the client.on("raw") event. The track loads, the trackStart event is triggered, and the player has the correct guild & voice channel ID's. If I had to guess, this may be connected to the nodeCreate event not triggering?...

Previous Function

There is a way to reach the previous song? I don't see the option in the player.

Previous Function

There is a way to reach the previous song? I don't see the option in the player.

using direct link gives no results but searching does.

I haven't used this library at all but I've used some that are similar to it in the past (erela.js, vulkava, etc...). I picked it because it was the most familiar feeling but I'm running into an issue with direct links in my first implementation. Here is the code I use to play tracks and attached to this post is the logs from the console ```js const player = client.moonlink.createPlayer({ guildId: interaction.guild.id, voiceChannelId: voiceChannel.id,...
Solution:
I didn't read the lavalink logs properly and it ended up being that they depricated their out-of-the-box youtube support so I had to install a plugin. Thank you so much for your help regardless ❀️
No description

Certain URLs Not Working

Starting today I've noticed an issue where 'query' is undefined, specifically in the loadTracks() function. if (query.startsWith("http://") || query.startsWith("https://")) ^ ...
Solution:
``` let req; if (isLink) { req = await client.manager.search({ query }); } else {...

I have question

why when i destroy player it error like this?
No description

Lavalink throws up on moonlink init

Cmd log in attachment. I have no clue whats going on and cant help
No description

When player.destroy play another music!

Even though there is no song in the queue, when I destroy it, it leaves the vc, but trackStart is triggered and embed spam as different music.
No description

Can't see connection status and event in moonlink doesn't seem to work.

```javascript const { Client, Collection } = require('discord.js'); const { Manager } = require('moonlink.js'); module.exports = class BotClient extends Client {...

mp3 download

can i use moonlink to download mp3 ? or just get the stream url
Next