This is the source code behind the Mastodon bot randomtrees@botsin.space. The configuration file at ~/.treebot
should look something like this:
{ clientId = "a long hexadecimal string",
clientSecret = "another long hexadecimal string",
username = "email@example.org",
password = "something secure I hope",
server = "botsin.space"}