so-un-bot/Bot
2024-01-19 03:29:39 +01:00
..
ACL Refactor repo structure 2024-01-19 03:29:39 +01:00
bin/Debug/net8.0 Refactor repo structure 2024-01-19 03:29:39 +01:00
ModuleLoader Refactor repo structure 2024-01-19 03:29:39 +01:00
Modules/OttoLinux Refactor repo structure 2024-01-19 03:29:39 +01:00
obj Refactor repo structure 2024-01-19 03:29:39 +01:00
Telegram Refactor repo structure 2024-01-19 03:29:39 +01:00
HomeBot.csproj Refactor repo structure 2024-01-19 03:29:39 +01:00
LICENSE Refactor repo structure 2024-01-19 03:29:39 +01:00
Program.cs Refactor repo structure 2024-01-19 03:29:39 +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

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