AutoDownload lavalink server

This commit is contained in:
Mylloon 2021-08-14 15:52:00 +02:00
parent 20fa0d1132
commit 8c627e4ebe

View file

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo "Starting Lavalink server..." echo "Starting Lavalink server..."
cd lavalink cd lavalink
[-f Lavalink.jar] || chmod u+x download.sh && ./download.sh
java -Djdk.tls.client.protocols=TLSv1.3 -Xmx3G -jar Lavalink.jar 1> /dev/null & # showing only stderror java -Djdk.tls.client.protocols=TLSv1.3 -Xmx3G -jar Lavalink.jar 1> /dev/null & # showing only stderror
echo "Starting Discord bot..." echo "Starting Discord bot..."
cd .. cd ..