Use xubot-core to build with .NET. You need .NET 7.0 on the target machine.
In the project directory, run this to compile to DLLs for various platforms:
dotnet publish
You run it by running this with xubot.dll
:
dotnet xubot.dll
If the publish provides it, you can also run the bot with the executable named xubot
(i.e xubot.exe
, ./xubot
). For Linux, make sure the execute rights are set on the file.
The binary depends on certain files within its directory. These can be found in the config example folder.
For a full runtime ID list, use Microsoft's catalog.
Confirmed working on: Windows 10 x64, macOS 13.4 (Apple Silicon), Ubuntu LTS, Debian (published as linux-x64
)
The source code provided here on GitHub is licensed under AGPLv3. You can look at the license here.