A (simple) music bot for Discord that can play music from YouTube. Add it to your server here!
Written with Discord.js
Built and run with Node.js
To host the bot Node.js must be installed. Furthermore two tokens are needed:
A Discord Bot token set in a token.js
file in root folder:
exports.TOKEN = "token";
A YouTube Data API key set in a apikey.js
file in root folder:
exports.GOOGLE_API_KEY = "";
First install dependencies with npm run install
in folder.
Then run the bot with node .
Prefix: y!
Commands:
play
- plays link or searches on YouTube - adds to queue if already playing
stop
- stops the current song
pause
- pauses playing
resume
- resumes playing
playing
- shows the current song playing
q
- shows what's in the queue
shuffle
- shuffles the queue
volume
- sets volume between 0
and 100
%
fade
- fades the volume to between 0
and 100
%
Todos:
- Saving playlists and queues