lavamusic icon indicating copy to clipboard operation
lavamusic copied to clipboard

Sugestions / Fix Problems for Lavamusic

Open infnibor opened this issue 2 months ago • 0 comments

Hello, I have 2 suggestions:

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

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

  3. 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 use https://github.com/lavalink-devs/youtube-source#v2 instead."" I also suggest applying the changes mentioned in the warning.

infnibor avatar Apr 28 '24 15:04 infnibor