Goontunes is a discord music bot with support for youtube playback.
/play Song Name - Search and play a song from YouTube with autocomplete
/playurl URL - Play a song directly from a YouTube URL
/playlist URL - Load and play an entire YouTube playlist
/menu - Display interactive playback controls with real-time progress
/pause - Pause the current playback
/resume - Resume paused playback
/stop - Stop playback and disconnect from voice channel
/skip - Skip to the next song in queue
/loop mode - Set loop mode: off, song, or queue
/queue - Display the current music queue
/clearqueue - Clear all songs from the queue
/history - Show recently played songs
/clearhistory - Clear the song history
/joinvoice - Join your current voice channel
/validate URL - Check if a YouTube URL or playlist is valid
/help - Show all available commands and features
git clone https://github.com/Derukugis/Music-Bot.git
cd Music-Bot
pip install -r requirements.txt
# Create a .env file with your Discord bot token
echo "TOKEN=your_discord_bot_token_here" > .env
python main.pyMacOS
brew install ffmpegLinux
Arch Linux (AUR)
yay -S ffmpegArch Linux (pacman)
sudo pacman -S ffmpegDebian/Ubuntu
sudo apt update
sudo apt install ffmpegInstall all dependencies with:
pip install -r requirements.txt