A Discord music bot with advanced playback controls and Spotify integration.
- Clone the repository
git clone xxx
- Copy the example docker compose file
cp docker-compose.example.yml docker-compose.yml
- Add your credentials to the environment variables:
- Get Discord token from Discord Developer Portal
- Get Spotify credentials from Spotify Developer Dashboard
- Run the bot
docker-compose up -d
play(p) - Play music or add to queueplaynext(pn) - Add song to play nextpause- Pause playbackresume- Resume playbackskip(s) - Skip to next songnowplaying(np) - Show current song info
queue(q) - View current queueshuffle(sh) - Randomize queueclear(c) - Empty the queueplaynum- Play specific song number from the queuerepeat(r) - Toggle queue loopremove(rm) - Remove specific song from queue, or all songs play a user
disconnect(dc) - Leave channelhelp(h) - Show help message
- Support for Spotify tracks and playlists
- Automatic YouTube search for Spotify tracks
- Queue management for playlists
- Uses discord.py for Discord integration
- yt-dlp for YouTube downloads
- FFmpeg for audio processing
- Async/await for non-blocking operations
- SponsorBlock integration for skipping non-music segments