A discord bot to download high quality music from streaming services.
Edit the commands in music.py if you're using another operating system.
Make 2 channels , one for Requests and another for Uploads.
The bot performs tasks synchronously (one task at a time) , so the channel needs to be locked after each request.
If you have a better solution , open a PR.
I have restricted Qobuz , Youtube , Soundcloud and Artist Profile/Playlists. Edit these lines if you want to allow them.
python
pip
pip3 install streamrip --upgrade
pip install -U discord.py
rclone
7zip
pip install -r requirements.txt
Keep rclone and 7zip in the bot folder if you are using Windows.
Run rip config --open , it will show you the file location of streamrip's config. Open it with a text editor and change
folder = "/Users/nathan/StreamripDownloads" to folder = "Your bot folder/download/Temp/"
Set [database] enabled = true to false.
Change rclone remote to your's change this line.
Read https://rclone.org/commands/rclone_config/ to setup rclone.
Open the config.json file and edit it.
This line Should have a / at the end.
Put the channel id in line 6 and 7.
python3 bot.py
When you run the $dl command for the first time , check your terminal and follow the steps to login to tidal/qobuz.
Your token is saved so you don't have to do it everytime.
Streamrip by nathom
Discord.py Bot Template by kkrypt0nn