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

Lemmy NSFW

11868 readers
22 users here now

Updates about lemmynsfw.com

founded 1 year ago
MODERATORS
1
submitted 9 months ago* (last edited 9 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.
top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 9 months ago (1 children)
[–] [email protected] 0 points 9 months ago* (last edited 9 months ago) (1 children)

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

[–] [email protected] 0 points 9 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.

[–] [email protected] 0 points 9 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?

[–] [email protected] 0 points 9 months ago (1 children)

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...

[–] [email protected] 0 points 9 months ago* (last edited 9 months ago) (1 children)

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'"
}
[–] [email protected] 0 points 9 months ago (1 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 9 months ago* (last edited 9 months ago) (1 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 9 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 9 months ago* (last edited 9 months ago)

Maye negating regex work? Something like

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

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

[–] [email protected] 0 points 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