Play music in your Discord server with ease
MusicBot brings YouTube music to your voice channels with queue management, caching, and multi-server support. Simple commands, powerful features.

Quick Start
Get MusicBot running in your Discord server in minutes
Configure environment variables
Create a
.env file with your Discord bot token and YouTube API key.You’ll need to create a Discord bot application and obtain a YouTube Data API v3 key. See our configuration guide for details.
Key Features
Everything you need for a great music experience
YouTube Integration
Play music from YouTube URLs or search by song name with automatic video discovery.
Queue Management
Add multiple songs to a queue and skip tracks with simple commands.
Smart Caching
Downloaded songs are cached per server for faster playback next time.
Multi-Server Support
Run the bot on multiple Discord servers with isolated state and queues.
Auto-Disconnect
Bot automatically leaves after 5 minutes of inactivity to save resources.
Low Latency
Check voice connection latency with the
!ping command.Explore the Documentation
Learn how to set up, use, and customize MusicBot
Installation
Install MusicBot and its dependencies
Configuration
Set up API keys and environment variables
Discord Bot Setup
Create and configure your Discord bot application
Commands Reference
Complete list of all bot commands
Architecture
Understand how MusicBot works internally
Troubleshooting
Solutions to common problems
Ready to bring music to your server?
Follow our quickstart guide to get MusicBot up and running in your Discord server in just a few minutes.
Get Started Now