geteilt von: https://feddit.de/post/1728805

I made a simple mod bot for Lemmy.

It’s still “early access”, but it’s stable and should be fit for everyday use.

I’d be really happy to get some feedback on what kind of features mods would like to see.

If you want to try it in action, go to [email protected]. That’s the testing community where it currently filters posts with duplicate URLs, same as mentions of Reddit, Lego and other beings-who-must-not-be-named. Feel free to post stuff there and see it get automatically moderated.

  • Nix
    link
    fedilink
    English
    21 year ago

    And overview of its features would be useful

    • Square SingerOP
      link
      fedilink
      English
      31 year ago

      The Github link has a detailled description of what it can do.

      Basically, there are triggers and actions.

      Currently there are these triggers:

      • Find posts with duplicate URLs
      • Find posts/comments that match a regex pattern. Posts can match on URL, title and content, comments only on comment. This trigger can also be used to find posts/comments that don’t match the regex.

      Actions:

      • Post a comment under the post/comment
      • Lock a post
      • Remove a post/comment. For this action you can also post a reason.

      The actions that create text (posting a comment and the reason for removal) allow you to fill in any information that the REST API returns for the target post/comment. This allows you to e.g. address the user by name or link to the already existing post of the duplicate url.

      • Nix
        link
        fedilink
        English
        21 year ago

        Very useful thanks! Will you be testing it in any community?

        • Square SingerOP
          link
          fedilink
          English
          2
          edit-2
          1 year ago

          It’s currently running on [email protected], moderating posts about stuff that should not be talked about (e.g. Lego, Reddit and a specific person that must not be named).

          It’s not constantly running there, though.