Gurkengewuerz / ts3audiobot

Home Page:https://github.com/Splamy/TS3AudioBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TS3AudioBot

Docker installation

A published docker container is provided for the develop branch. It is based on mcr.microsoft.com/dotnet/core/aspnet:6.0-alpine and is capable running uncompiled plugins.

The container supports a non-root installation. Therefor the enviroment variables PUID and PGID must be set.

A working compose file can be found at docker/docker-compose.yml.

Plugins

Install Dependencies

cd plugins/
git clone https://github.com/Splamy/TS3AudioBot.git
cd TS3AudioBot/ && git checkout develop
dotnet build
cd ..
cp TS3AudioBot/TS3AudioBot/bin/Debug/net6.0/TSLib.dll .
cp TS3AudioBot/TS3AudioBot/bin/Debug/net6.0/TS3AudioBot.dll .
cp TS3AudioBot/TS3AudioBot/bin/Debug/net6.0/Nett.dll .

Source Comment

Create a new Plugin

First create an empty .NET project

cd plugins/ && dotnet new classlib -f net6.0

Second edit the .csproj to point to the dependencies. See pr0-bot as an example.

About

https://github.com/Splamy/TS3AudioBot

License:GNU Affero General Public License v3.0


Languages

Language:C# 78.2%Language:Shell 10.7%Language:Dockerfile 10.4%Language:Batchfile 0.7%