Skip to content

olaru-alexandru/2pac_reforged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2PAC - Discord bot that actually plays music

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.

What can this thing do?

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.

How to use

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.

Download:

Clone this repository:

git clone https://github.com/oda404/2pac_reforged

Go into the source directory & install dependencies:

yarn install

Configuration:

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>"

Run:

Start the bot by running:

yarn compile-run

If you plan on working on the bot, I recommend running it like this:

yarn dev

License

MIT. Do whatever you want as long as you credit me.

Releases

No releases published

Packages

No packages published