- Install FFmpeg
- Get an api key from youtube and add it to config.js
- Run it locally from node with node discord_dj.js
- Go to https://discordapp.com/developers
- Add a new app and create a bot user
- Copy bot user token to bottom of discord_dj.js
- Copy your client id into the following url and add the bot to your server https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0
- -join (moves the bot to a channel)
- -play (plays any audio quickly)
- -stop (stops any currently playing audio)
- -pause (pauses currently playing music)
- -resume (resumes paused music)
- -new (creates a new playlist)
- -add <position in playlist[number]>
- -remove <position in playlist[number]> (removes a song from a playlist)
- -list (list all songs in current playlist and their order)
- -playlist (start playing, or restart, the playlist)
- -next (skip a song in a playlist)
- -delete (deletes the playlist)
- -help (repeat this list)