Installing MusicBot on Mac requires several libraries and applications.
First, install Python 3.5.3+ on your system. We recommend Python 3.5.4. Next, open Terminal and run the following commands;
# Install Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew update xcode-select --install # Install dependencies brew install git brew install ffmpeg brew install opus brew install libffi brew install libsodium # Clone the MusicBot cd desktop git clone https://github.com/Just-Some-Bots/MusicBot.git MusicBot -b master # Install Python dependencies cd MusicBot python3 -m pip install -U pip python3 -m pip install -U -r requirements.txt
Following this, you'll find a folder named MusicBot
on your Desktop. You can then open it, configure your bot, and then run the bot by running run.sh
.
If you are unable to run run.sh
, make sure you mark it as executable in the file's properties.