Bot used for posting discussion threads for the series "Ascendance of a Bookworm" on the lemmy instance bookwormstory.social
Neshura
5d708bdb82
All checks were successful
Run Tests on Code / run-tests (push) Successful in 34s
Build and Release Binary File / test (push) Successful in 34s
Build and Release Binary File / build (push) Successful in 38s
Build and Release Binary File / upload-generic-package (push) Successful in 2s
Build and Release Binary File / upload-debian-package (push) Successful in 2s
Build and Release Binary File / upload-release (push) Successful in 8s
|
||
---|---|---|
.forgejo/workflows | ||
debian | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
COPYING | ||
README.md | ||
rustfmt.toml |
aob-lemmy-bot
config.toml
instance = "https://lemmy.example.org"
username = "BotUserName"
password = "BotPassword"
status_post_url = "PostUrlForStatusMonitoring"
config_reload_seconds = 10800
protected_communities = [ "community_where_pins_should_stay" ]
[[series]]
slug = "example-slug"
parted = false
[series.prepub_community]
name = "communityforprepubs"
[series.prepub_community.pin_settings]
pin_new_post_local = true
pin_new_post_community = true
[series.prepub_community.post_body]
body_type = "Custom"
body_content = """
Custom Text for the Post\n\n\
Can contain new lines and [links](https://join-lemmy.org)"""
[series.volume_community]
name = "communityforvolumes"
[series.volume_community.pin_settings]
pin_new_post_local = false
pin_new_post_community = true
[series.volume_community.post_body]
body_type = "Description"
[[series]]
slug = "example-slug-2"
parted = true
[series.prepub_community]
name = "communityforprepubs"
[series.prepub_community.pin_settings]
pin_new_post_local = false
pin_new_post_community = false
[series.prepub_community.post_body]
body_type = "Custom"
body_content = "single line content"
[series.volume_community]
name = "communityforvolumes"
[series.volume_community.pin_settings]
pin_new_post_local = false
pin_new_post_community = false
[series.volume_community.post_body]
body_type = "None"