discord-music-quizzer icon indicating copy to clipboard operation
discord-music-quizzer copied to clipboard

Replace scrape-youtube with ytsr

Open Bebiezaza opened this issue 2 years ago • 1 comments

This should fix YouTube police busting the party error. I have used this library on my personal bot and it seems to be very reliable, and it is at 100% with the scale of my bot (10 servers).

Other side effects:

  1. Replace @discordjs/opus with opusscript in production as it would block the process of installing ytsr. @discordjs/opus also leaks memory while opusscript does not, as stated in discordjs/voice#197.
  2. package-lock.json got forcibly updated to "lockfileVersion": 2

Bebiezaza avatar Jul 27 '22 16:07 Bebiezaza

Thank you. I'll have a look in the coming days :)

nicoeg avatar Aug 03 '22 07:08 nicoeg