As simple as that. All readily available Discord music bots that came after the shutdown of Rythm don't work with YouTube. This one does.
Good features:
- Plays YouTube videos, provided either a link or a search query
- Plays videos from a playlist
- Uses
/
commands
Bad features:
- Only works with YouTube
- Can't play age restricted videos
- Can't play auto-generated playlists
- When playing a playlist it's always going to start playing from the begining of said playlist and not from the video you provided (if any)
Feel free to fix these if they bother you.
First you have to create a Discord app through their dev portal and add it to your server.
You'll need the app's token and client id.
Clone this repository:
git clone https://github.com/oda404/2pac_reforged
Go into the source directory & install dependencies:
yarn install
Rename the .env.example
file to .env
and edit the contents to match your app.
DISCORD_TOKEN="<your_discord_app_token>"
DISCORD_CLIENT_ID="<your_discord_app_client_id>"
Start the bot by running:
yarn compile-run
If you plan on working on the bot, I recommend running it like this:
yarn dev
MIT. Do whatever you want as long as you credit me.