I was updating my discord bot for the use with the new lavaplayer 2.2.1 and youtube.source 1.5.1 changing my configuration as following
AudioSourceManagers.registerRemoteSources(audioPlayerManager, com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.class);
AudioSourceManagers.registerLocalSource(audioPlayerManager);
audioPlayerManager.registerSourceManager(new YoutubeAudioSourceManager(true, new MusicWithThumbnail(), new WebWithThumbnail(), new AndroidTestsuiteWithThumbnail()));
I was updating my discord bot for the use with the new lavaplayer 2.2.1 and youtube.source 1.5.1 changing my configuration as following
After this, i compiled and run my bot as always using this yt link "https://www.youtube.com/watch?v=6nRFaOFcbpk" (that always worked) and now I got this wall of text