I'm a moderator in one of the Lemmy communities and want to set up a bot to post a message every day. I only found this; is that the best way? I'm a developer, so I'm confident I can set it up on a locally hosted server, but then other moderators won't be able to edit it. Is there a better way to do this?
8 Comments
Sal@mander.xyz · 7 pts · 3y
Is this for a single community? Maybe you can host a simple password-protected site where the moderators can modify the message.
@fossilesque@mander.xyz is developing a plant id bot for !plantid@mander.xyz, perhaps they can explain to you how they are doing that.
fossilesque@mander.xyz · 6 pts · 3y
Julius_Seizures@lemmy.world · 4 pts · 3y
I'd love to take a peek as well if you don't mind.
sylverstream@lemmy.nz · 2 pts · 3y
Yeah it's for a single community, stopdrinking. It's for the daily check in post.
retiolus@lemmy.cat · 5 pts · 3y
sylverstream@lemmy.nz · 3 pts · 3y
Thank you. How would you recommend to handle things like daily posts and giving all mods the ability to edit? Especially mods without programming experience?
retiolus@lemmy.cat · 2 pts · 3y
PriorProject@lemmy.world · 5 pts · 3y
Not OP, but I can give an real-world non-trivial example. The
!formula1@lemmy.mlcommunity wishes to set up a series of discussion threads for reach race.Hopefully this gives insight into a real world use-case.
PriorProject@lemmy.world · 5 pts · 3y
I haven't used it, but lemmybot or or the lower-level https://github.com/LemmyNet/lemmy-js-client, which is a pure client with no bot features are what I'm aware of.
I'd make sure to evaluate the API changes planned for v18 of Lemmy though. There's a major shift away from the websockets API that's about to land, and it's quite possible that you'd build a bot to find out it's broken a week later and needs to be adapted for a totally different API.
CapillaryUpgrade@lemmy.sdf.org · 1 pts · 3y
You could use gihtub/gitlab to host the code for the bot and allow editing that way?
You could probably use their CI/CD infrastructure to run the bot itself, too!
sylverstream@lemmy.nz · 2 pts · 3y
Yeah was thinking about that as well, sounds like a plan. Thanks for the tip.