This bot is designed to work either standalone, or as a submodule, hence the funky directory structure
-
Install requirements
pip install -r requirements.txt
-
Create configuration file from example
cp config.json.example config.json
-
Generate OAuth Token (see here) and populate config.json
-
Run bot!
python3 bot.py
-
Navigate to the
cogs
directory of your bot, or wherever you store your cogs -
Add submodule
git submodule add https://github.com/LachlanCourt/MusicBot Music
-
Update gitmodules to use release branch by adding
branch = release
to gitmodules entry or run the following command from the project rootgit config -f .gitmodules submodule.cogs/Music.branch release && git submodule update --remote
-
Install requirements
pip install -r requirements.txt
-
Include the music cog in your program and run bot!