Prerequisites
Before installing MusicBot, ensure you have the following installed on your system:- Python 3.8 or higher
- pip (Python package manager)
- ffmpeg (audio processing library)
Install Python dependencies
Install the required Python packages using pip:- discord.py: Discord API wrapper for building bots
- yt-dlp: YouTube video/audio downloader
- pynacl: Voice support for Discord
- python-dotenv: Environment variable management
Install ffmpeg
ffmpeg is required for audio processing and playback. Install it based on your operating system:Verify installation
Confirm ffmpeg is installed correctly:Clone the repository
Clone the MusicBot repository to your local machine:Make sure all dependencies are installed before proceeding to configuration.
Next steps
After installing dependencies, you’ll need to:- Create a Discord bot application
- Configure environment variables
- Run the bot with
python bot.py
