kyometori / djsmusic

A simple wrapper of @discordjs/voice library. This can help you use the new library easier.
MIT License
6 stars 0 forks source link

Scrape from soundcloud #2

Open TechPro424 opened 2 years ago

TechPro424 commented 2 years ago

Add an option whether to scrape from SoundCloud or YT. If the option is set to SoundCloud, and user tries to play YT links, the actual scraping will still happen from SoundCloud. This way, we don't need to bother about YT shutting our bots down.

kyometori commented 2 years ago

You can prevent the GuildMusicManager#play recognize Youtube links by set the ClientMusicManagerOptions.enableService.youtube to false. Also there's actually an under development SoundCloudUtils class to handler search from SoundCloud, but since lack of experience of dealing with SoundCloud, I haven't successfully made it work.