so-un-bot/Bot
2024-01-31 12:54:40 +01:00
..
AccessControl Fix bot haning when sending alerts 2024-01-19 19:06:53 +01:00
ModuleLoader Fix bot haning when sending alerts 2024-01-19 19:06:53 +01:00
Modules/OttoLinux Switch from webserver to telegram inputfile 2024-01-31 12:49:28 +01:00
Telegram Add local images support ...finally! 2024-01-31 04:56:23 +01:00
LICENSE Refactor repo structure 2024-01-19 03:29:39 +01:00
Program.cs Remove useless import 2024-01-31 12:54:40 +01:00
README.md Refactor repo structure 2024-01-19 03:29:39 +01:00
run.sh Refactor repo structure 2024-01-19 03:29:39 +01:00
SoUnBot.csproj Fix bot haning when sending alerts 2024-01-19 19:06:53 +01:00

so-un-bot-for-real

The code behind so-un-bot

Nothing is documnted so far. I will try to write a documentation on my free time. Have fun!

How to run

Prepare the environment

$ dotnet restore

Option 1: using the .NET runtime (and SDK) in your host

$ dotnet run

This will compile the project in debug mode

Option 2: in Docker

$ dotnet publish -c Release
$ docker build -t sounbot .
$ docker run -d --name='sounbot' -v '/path/to/datadir':'/App/ACL':'rw' 'sobot:latest'

Remember to change /path/to/datadir with your own data directory!

How to debug

Just open the project in Visual Studio or VSCode with the .NET Extension Pack extension.

You will need the .NET 6.0 SDK: https://dotnet.microsoft.com/en-us/download/dotnet/6.0