Crate lemmy_scheduled_post_bot

Crate lemmy_scheduled_post_bot 

Source

Macros§

resolve_default
Generate an Option<T> by chaining together an Option<T> with an Option<struct { field: Option<T> }>

Structs§

Config
Contains the necessary information to make a post to a Lemmy server
Post
A scheduled post definition
PostOptions
The contents of a post. Fields that are None will fall back to matching fields in the config defaults, or be omitted.
Settings
Contains basic information about a planned post’s destination

Functions§

process_posts
Publish the next post from the supplied config
process_posts_from_file
Loads the supplied config file and passes the result to process_posts.