musicbot-docker/fetch.sh

4 lines
193 B
Bash
Executable File

#!/bin/bash
tail=$(curl -L https://github.com/jagrosh/MusicBot/releases/latest | grep -oP "/jagrosh/MusicBot/releases/download/.*.jar")
curl -L "https://github.com$tail" -o /data/jmusicbot.jar