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?

  • AtegonMA
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year 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

    • ericjmorey
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Looks like lemmy-bot uses TypeScript, but I guess that’s close enough to JavaScript for most purposes.

      • AtegonMA
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

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