A basic Mastodon bot that will post random images from a given folder, written in C# using .NET Core, with no external libraries used.
This is the source code used to power the bot at @emmacatbot@botsin.space
Requirement: .NET Core SDK, version 3.1 or later.
dotnet build
into a command line.
config.ini
file (example provided at config-example.ini
, replace the values with your own) into the output folder (likely bin/Debug/netcoreapp3.1
in the project folder)dotnet catbotcode.dll
into a command line.
dotnet catbotcode.dll path/to/config.ini