r/AutoModerator 14d ago

Help - AutoMod is this automod instrustion correct?

i am trying to remove posts from users without user flair. is this correct?

type: submission
author:
flair_text: ""
action: remove
action_reason: "Gebruiker heeft geen gebruikersflair"
comment: |
Blahhhhh

3 Upvotes

7 comments sorted by

3

u/_Face 14d ago

you still need to post your code in a code block.

1

u/ReasonablyBluh 14d ago edited 14d ago
    type: submission
    author:
        ~flair_text (regex, includes): ['.']
    action: remove
    action_reason: "No user flair"
    comment: |
        Yada Yada Yada

1

u/Confusedmind75 14d ago

So my one is wrong?

1

u/[deleted] 14d ago

[deleted]

1

u/Confusedmind75 14d ago

I think there can be an error hence I am not sure. Why the regex? What does that do? If you don’t mind explaining?

2

u/SampleOfNone 13d ago

That check if a user has any user flair

1

u/IKIR115 10d ago

You need to specify regex to use Regular Expression operators like the dot, which acts as a wildcard for 1 character.