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?

  • @PriorProject@lemmy.world
    link
    fedilink
    English
    3
    edit-2
    1 year ago

    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.

    • @sylverstream@lemmy.nzOP
      link
      fedilink
      11 year ago

      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
        link
        fedilink
        11 year ago

        Please explain in detail how you would like the bot to work and what features it should have.

        One post a day. The same post every day? A default motd that you can edit but as long as you don’t change it, it publishes every day? Should the time be configurable? Etc…?

  • @CapillaryUpgrade
    link
    English
    11 year ago

    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!