This mastodon bot will toot words from a list you provide.
The original bot, @wordbot@botsin.space, uses a list of words created by aneural network. You may use whatever words you want, but it's your job tosupply the words. This repository includes an example word file.
BONUS: If you have a list of new and unusual words, and want to make sure they'renot in the dictionary, I've provided a perl script called check.pl that youcan manually run on your word file. It compares the new words to an includeddictionary file. Feel free to replace the dictionary and repurpose thescript as you like.
If all you want to do is toot items from a list, you just need tootbot.py,toot_secrets.py, and words.txt.
The python module pawopy is required for tooting.
If you would prefer to make a twitter bot, you can edit tootbot.py to usetweepy instead.
Create a mastodon account for your bot (recommended: http://botsin.space )
In the settings of that account:a. Go to Developmentb. Create an appc. Click on the app you just createdd. Copy the key, secret, and access token
Add the key, secret, and access token to the toot_secrets.py fileincluded here.
Run the tootbot.py script from the command line to make sure it does theright thing. (This provides some command line feedback and also makes ittoot its first toot!)
Set up a cron job to run tootbot.py on your desired interval.