Skip to content

A simple discord bot I coded in an afternoon to play music from youtube for me and my friends.

Notifications You must be signed in to change notification settings

mcfry/DiscordDJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord DJ

Play music from youtube locally and rely on your own connection, supports playlists
To get it running you will need to:
  1. Install FFmpeg
  2. Get an api key from youtube and add it to config.js
  3. Run it locally from node with node discord_dj.js
Install
  1. Go to https://discordapp.com/developers
  2. Add a new app and create a bot user
  3. Copy bot user token to bottom of discord_dj.js
  4. 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
Use:
  1. -join (moves the bot to a channel)
  2. -play (plays any audio quickly)
  3. -stop (stops any currently playing audio)
  4. -pause (pauses currently playing music)
  5. -resume (resumes paused music)
  6. -new (creates a new playlist)
  7. -add <position in playlist[number]>
  8. -remove <position in playlist[number]> (removes a song from a playlist)
  9. -list (list all songs in current playlist and their order)
  10. -playlist (start playing, or restart, the playlist)
  11. -next (skip a song in a playlist)
  12. -delete (deletes the playlist)
  13. -help (repeat this list)

About

A simple discord bot I coded in an afternoon to play music from youtube for me and my friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published