How does one make a Lemmy bot? A couple of communities I moderate could benefit from a bot to post regular threads based on a template or respond to comments which contain key phrases.

How and where are Lemmy bots hosted? What language are they written in? I have some basic coding experience with Python/Bash/C++, but am not sure where to start when it comes to something like this.

Are there any good step-by-step guides for building a Lemmy bot?

  • @[email protected]
    link
    fedilink
    English
    76 months ago

    I’m not sure which is the best or most active, but there are several open source Lemmy bots you could check out to get an idea, or just use an existing one or fork it. This one for instance, lemmy-bot

  • AtegonM
    link
    fedilink
    5
    edit-2
    6 months ago

    Theres a lot of different frameworks to use for creating them

    The most popular one is lemmy-bot which uses js (and has descriptions for how to use it on the page)

    Theres also one in python though here with a couple examples in its repo

      • AtegonM
        link
        fedilink
        26 months ago

        Uses typescript but can be used for both js and ts, I make bots in Javascript using it

    • @[email protected]
      cake
      link
      fedilink
      36 months ago

      That’s a bit of an advanced methodology.

      @[email protected] Don’t feel overwhelmed if this one is a bit over your head when looking at the details of it’s implementation.

      @[email protected] when visiting https://schedule.lemmings.world/, being greeted immediately by a third party asking for your login information is a bit jarring and requires trust. Maybe consider a landing page that has some more information about what’s going on and a link to the git repo could be helpful.

      • Rikudou_Sage
        link
        fedilink
        76 months ago

        Perhaps you’re right, on the other hand I stopped caring after about the 5th time someone accused me of trying to steal their precious credentials.

        I know better use of my time than convincing people that no, I’m not stealing anything, it’s just Lemmy devs being incompetent and not having any other way for 3rd parties to authenticate.

        • @[email protected]
          cake
          link
          fedilink
          36 months ago

          As someone who’s always curious about how things are implemented I always appreciate a link to a git repo being offered up front.

          A landing page could also curtail some of those accusations until something better comes along with Auth0 or similar support. But also people are going to complain no matter what you do.