lavamusic
lavamusic copied to clipboard
Sugestions / Fix Problems for Lavamusic
Hello, I have 2 suggestions:
-
Add something like
if (args.trim() === '') return;
so that if the search request is empty, it won't send the request to LavaLink Server causing error 400, which unfortunately, but in When selecting a slashcommand, almost every time an empty request is invoked before pasting/searching for a song, which would help avoid unnecessary errors and spamming the LavaLink console. -
Add automatic IP rotation to the bot, which would prevent several errors occurring when trying to play a song like
Resource with requested id was not found","status":"404","code":"40400"
I will add right away that this is not an error due to an incorrect existing link, but most likely due to the lack of IP rotation. -
Due to the fact that the authors of LavaLink themselves warn about the deprecated use of YoutubeSourceManager - "[!WARNING] > The
YoutubeSourceManager
is now deprecated and won't receive further updates. Please usehttps://github.com/lavalink-devs/youtube-source#v2
instead."" I also suggest applying the changes mentioned in the warning.