README: Add example bot

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-01-06 08:23:23 -06:00
parent beb00c53c8
commit 4e0e484456
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Should be compatible with Mastodon, Misskey and Pleroma!
8. Run the bot: \
`yarn local`
You're done! The bot should post an image to the fediverse instance of your choosing!
You're done! The bot should post a local image to the fediverse instance of your choosing!
## Automating the bot
*TODO: Elaborate more*
@ -43,6 +43,8 @@ Example cron configuration:
0 * * * * cd /path/to/fediverse-imagebot && yarn local -m "Message"
```
This example will run the bot every hour on the hour with the post message `Message`.
An example of this configuration can be found at https://froth.zone/rinbot.
## Additional information
Additional help can be found by running `yarn local -h` or `yarn token -h`.