10 lines
372 B
Bash
Executable file
10 lines
372 B
Bash
Executable file
#!/usr/bin/env bash
|
|
echo "Starting Lavalink server..."
|
|
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
|
|
echo "Starting Discord bot..."
|
|
cd ..
|
|
python3 -u ./main.py
|
|
|
|
# if you want to kill the java process, do this command: pkill -9 -f Lavalink.jar
|