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
    5
    edit-2
    10 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

    • @ericjmorey
      link
      1
      edit-2
      10 months ago

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

      • AtegonMA
        link
        210 months ago

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