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 @[email protected]

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.
  • lemmyposter212@lemmynsfw.comOPM
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    9 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
      ·
      9 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
        9 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
          ·
          9 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])

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

            Maye negating regex work? Something like

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

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

          • lemmyposter212@lemmynsfw.comOPM
            link
            fedilink
            English
            arrow-up
            0
            ·
            9 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