As this community grows automod will be more and more important. We’ve already seen some OC creators stop posting because of rude comments. This along with it’s general usefulness has pushed us to implement an automod solution.

We have implemented basedcount’s lemmy-automoderator

It has the capability to moderate:

  • comments
  • posts
  • and make custom ! comment commands

The automod user is @automod@lemmynsfw.com

How to add automod:

  • as you’ll see later in the wiki, the automod has to be manually set as a moderator of your community

  • Message me and I’ll login and comment on a post in your community.

Edit: I’ve added automod to just about every community I could find. If your community doesn’t have automod, or you make a new one, please message me and I’ll add automod to your mod team

  • Once the comment is made, appoint automod as mod, and Read the wiki to learn how to add rules to your community.
  • pantyhosewimp@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    I hope this is the right place to ask about this but the word “removed” in italics is everywhere! Like the word that is the opposite of day is spelled ‘n_removed_ht.’ It’s insane and annoying but I don’t know the origin of it.

    Is it my client app? Is it lemnynsfw.com? All the different original posters cannot possibly be coordinating this.

    Surely somewhere someone has noticed this nonsense and is working to fix it?

    • lemmyposter212@lemmynsfw.comOPM
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      8 months ago

      Thanks for brining that to my attention. I added a slut filter, clearly it wasn’t working correctly

      In the future you can just message me directly

      • pantyhosewimp@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        Thanks for responding.

        I was unsure where it was happening. On my client. Globally among all Lenny instances. At the local Lenny instance. And so on

        I’m not familiar yet with all the admin / settings/ help features of Lenny yet.

  • metaconnoisseur@lemmynsfw.comM
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    Has anybody actually had any success adding rules to automod?

    I don’t see any automod activity in the modlog.

    I tried adding a rule to gonewild and it says no such community exists…

    • lemmyposter212@lemmynsfw.comOPM
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      8 months ago

      Did you give it the full name with the @lemmynsfw.com ?

      edit: you shouldn’t have to do that

      the automod can be finnicky with empty white space though

      this is an example of a rule that should work:

      {
          "rule": "comment",
          "community": "gonewild",
          "match": "pizza",
          "type": "exact",
          "whitelist_exempt": false,
          "mod_exempt": false,
          "message": "Your comment has been removed because I don't like pizza",
          "removal_reason": "Said the word 'pizza'"
      }
      
      • metaconnoisseur@lemmynsfw.comM
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        Thanks for clarifying. I have a few follow-up questions:

        How to make a rule that requires a certain phrase in the title? For instance the below rule excludes anyone who puts a gender tag in the title, but I want a rule that only allows posts which have a bracketed gender tag.

        {
            "rule": "post",
            "community": "gonewild",
            "field": "title",
            "type": "regex",
            "match": "[.*]",
            "whitelist_exempt": false,
            "mod_exempt": true,
            "message": "Your post has been removed because you have not included a tag such as [F], [M], or other tag in brackets your post title.",
            "removal_reason": "No gender tag in title."
        }
        

        Secondly, how to remove a rule once it is in place?

        • lemmyposter212@lemmynsfw.comOPM
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          8 months ago

          That rule looks like it would remove any post with brackets would it not?

          Also not sure on that I may need to remove and then re-add automod to reset the rules.

          • metaconnoisseur@lemmynsfw.comM
            link
            fedilink
            English
            arrow-up
            0
            ·
            8 months ago

            Yes it would. I am trying to create a rule that removes posts that don’t have a gender tag in brackets (e.g. [F], [M], [T])

            • lemmyposter212@lemmynsfw.comOPM
              link
              fedilink
              English
              arrow-up
              0
              ·
              8 months ago

              Currently I think the automod has rules for finding things included in the title, but I’m not sure if it has logic for looking for things NOT included in a title. I’m working currently, but I’ll do some googling later and see if this can be achieved with regex, but this may be something that’s not possible yet unfortunately

            • aU5ern4me@lemmynsfw.com
              link
              fedilink
              English
              arrow-up
              0
              ·
              edit-2
              8 months ago

              Maye negating regex work? Something like

              ^(?!.*\[.+\]).*
              

              (Everything without a [ followed by any character at least one time followed by ] )