this post was submitted on 27 Jan 2024
1 points (100.0% liked)

Lemmy NSFW

11721 readers
1 users here now

Updates about lemmynsfw.com

founded 1 year ago
MODERATORS
1
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

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.
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 7 months ago (4 children)

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?

[–] [email protected] 0 points 7 months ago* (last edited 7 months ago) (3 children)

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.

[–] [email protected] 0 points 7 months ago (2 children)

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])

[–] [email protected] 0 points 7 months ago* (last edited 7 months ago)

Maye negating regex work? Something like

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

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)