Roger's Jukebox is a Discord Music Bot, supporting YouTube.
- /play <url/search query>: plays/adds to queue a given URL or searches for a given query and plays the top result.
- /stop: stops playback.
- /skip: skips the current track.
- /queue: view the queue.
- /help: view all available commands.
To use the bot, and place all files in the same directory, along with a file called TOKEN
that should hold a bot token obtainable from here (Discord Dev Portal). You should set the ID of the guild to run it in by creating a file called GUILD
and pasting the guild ID in there. Then just run python ./bot.py
in the directory to start the bot.
A downloads
sub-directory will be created to store downloads, and each file will be deleted once it is played/skipped/stopped.
If you want to know more about how the bot works, I wrote a small blog post about the main file that will probably only be an approx. 5 minute read.