A Discord Bot that plays songs from YouTube.
This is for educational purposes only. You should not use this.
-
Get your bot's token from here
-
Create a
.env
in this directory and put inDISCORD_TOKEN=YOURTOKEN
-
In your application panel, click OAuth2, then under OAuth2 URL Generator select
bot
andapplications.commands
, then copy that URL for later 5E3E . -
Run
npm install
in this directory. You should probably haveffmpeg
installed globally as well. -
Run
node index.js
If everything works, you should see a message that says Bop is ready!
.
!bop play industry baby by lil nas x
!bop pause
!bop resume
This sort of app could fail for many reasons. It's all very complicated. I don't have a huge FAQ for you but if you want me to personally help you get this running locally for educational purposes, then consider joining the discord below.