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.
  • lemmyposter212@lemmynsfw.comOPM
    link
    fedilink
    English
    arrow-up
    2
    ·
    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'"
    }
    
      • lemmyposter212@lemmynsfw.comOPM
        link
        fedilink
        English
        arrow-up
        1
        ·
        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.

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

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

            Maye negating regex work? Something like

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

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

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

              You could ofc also enforcy only one or max 3 char’s between the [ ] and force it to be at the start

              ^(?!\[.{1,3}\]).*