Known problems: Youtube will detect copywrite videos, and stop copywrite songs/videos from playing. If your music suddenly stops playing this is the likely cause.
Build instructions:
- Clone repo.
- npm install
- Create a discord bot. Ensure you give the bot "Server members Intent" and "Message Content Intent"
- Authenticate the bot. Add it to your server with the administrator privliges, or manually give the bot the correct permissions.
- paste client ID
- run: $ node index.js
User instructions:
Copy paste a youtube URL into any text channel on the discord server. The bot will join your channel and start playing the youtube video. Currently there is no queue function. Posting another youtube URL will stop the current video and start the new video.