This is our open-source TeamSpeak 3 audio bot project since
we haven't found any other open-source one so far.
The bot has come a long way is pretty stable by now, though sometimes he hangs up or needs some other maintenance.
- Play Youtube and Soundcloud songs as well as stream Twitch (extensible with plugins)
- Song history
- Various voice subscription modes; including to clients, channels and whisper groups
- Playlist management for all users
- Powerful permission configuration
- Plugin support
- Web API
- Low CPU and memory with our self-written headless ts3 client
To see what's planned and in progress take a look into our Roadmap.
The bot is fully operable via chat.
Commands can be invoked with
You can download the latest builds precompiled from our nightly server:
- versions are mostly considered stable but won't get bigger features as fast.
- will always have the latest and greatest but might not be fully stable or have broken features.
Continue with downloading the dependencies.
You will need to download a few things for the bot to run:
- Mono: Get the latest version by following this tutorial and install
- Other dependencies:
- on Ubuntu:
sudo apt-get install libopus-dev ffmpeg
- on Arch Linux:
sudo pacman -S opus ffmpeg
- on CentOS 7:
sudo yum -y install epel-release sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm sudo yum -y install ffmpeg opus-devel
- Make sure you have a C compiler installed
- Make the Opus script runnable with
chmod u+x InstallOpus.shand run it with
- Get the ffmpeg 32bit or 64bit binary.
- Extract the ffmpeg archive with
tar -vxf ffmpeg-git-XXbit-static.tar.xz
- Get the ffmpeg binary from
ffmpeg-git-*DATE*-64bit-static\ffmpegand copy it to
- Get the ffmpeg 32bit or 64bit binary.
- Open the archive and copy the ffmpeg binary from
If the bot can't play some youtube videos it might be due to some embedding restrictions which are blocking this.
You can add a youtube-dl binary or source folder and specify the path in the config to try to bypass this.
Suggested first time setup
- The first time you'll need to run
mono TS3AudioBot.exewithout parameter and it will ask you a few questions.
- Close the bot again and configure your
rights.tomlto your desires. You can use the template rules and assign your admin as suggested in the automatically generated file, or dive into the rights syntax here.
- Start the bot again.
- This step is optional but highly recommended for everything to work properly.
- Create a privilege key for the ServerAdmin group (or a group which has equivalent rights).
- Send the bot in a private message
!bot setup <privilege key>.
- Congratz, you're done! Enjoy listening to your favourite music, experimenting with the crazy command system or do whatever you whish to do ;).
For further reading check out the CommandSystem.
Download the git repository with
git clone --recurse-submodules https://github.com/Splamy/TS3AudioBot.git.
- Get the latest mono version by following this tutorial and install
- See if you have NuGet by just executing
nuget. If not, get it with
sudo apt install nuget msbuild(or the packet manager or your distribution), or manually with
- Go into the directory of the repository with
mono ../nuget.exe restoreto download all dependencies
msbuild /p:Configuration=Release /p:TargetFramework=net46 TS3AudioBot.slnto build the AudioBot
- Make sure you have installed
.NET Framework 4.6and the latest
- Build the AudioBot with Visual Studio.
Testing and Fuzzing
- Run the TS3ABotUnitTests project in Visual Studio or Monodevelop.
Translations need to be manually approved and will then be automatically built and deployed to our nightly server here.
This project is licensed under OSL-3.0.
- OSL allows you to link to our libraries without needing to disclose your own project, which might be useful if you want to use the TS3Client as a library.
- If you create plugins you do not have to make them public like in GPL. (Although we would be happier if you shared them :)
- With OSL we want to allow you providing the TS3AB as a service (even commercially). We do not want the software to be sold but the service. We want this software to be free for everyone.
- TL; DR? https://tldrlegal.com/license/open-software-licence-3.0