TS3Audiobot Setup

2. Update all existing packages

sudo apt-get update -y && sudo apt-get upgrade -y

2. Install required software

apt install nano -y

3. Install the required Debian repos

apt-get install gpg -y
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ 
wget -q https://packages.microsoft.com/config/debian/10/prod.list
mv prod.list /etc/apt/sources.list.d/microsoft-prod.list 
chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg 
chown root:root /etc/apt/sources.list.d/microsoft-prod.list

4. Install the required dotnet

apt-get install apt-transport-https
apt-get update
apt-get install dotnet-sdk-3.1

5. Install libopus and ffpmeg

apt-get install libopus-dev ffmpeg -y

6. Download the bot and unpack it

wget -O Bot.zip https://splamy.de/api/nightly/ts3ab/master/download
apt install unzip -y && unzip Bot.zip -d Bot && cd Bot/

7. Start the bot now

dotnet TS3AudioBot.dll

8. You can start the bot in the background with the help of Screen

apt install screen -y
screen -S musik -dm dotnet TS3AudioBot.dll