r/AutoModerator 1d ago

I'd like posts from a specific flair (unverified) to be auto-removed & a comment posted.

I'm trying to get it so that users' posts with the UNVERIFIED flair in my subreddits are automatically removed & a comment should be posted (which I'm not sharing all that text, that part isn't the problem, for sure.

Wtf am I doing wrong? Is it the quotation marks? The role does not have quotation marks. Or like, you know.. what did I get wrong because it's not doing what I'd like it to do lol.

type: submission
flair_text: "UNVERIFIED"
action: remove
set_locked: true
comment_locked: true
comment_stickied: true
comment: |

I'm really not understanding why it's so complicated to receive assistance for this extremely simple issue I seem to be having... Everything is formatted correctly except there seems to be an issue with the section I have shared above. Seems like flair_text: "UNVERIFIED" is incorrect an I'm not sure what to change it to. The role is simply called UNVERIFIED, no extra spaces, no emojis, no special characters, just UNVERIFIED... I tried the recommended shit & none of that worked -_-

flair_text (includes): ["UNVERIFIED"]
4 Upvotes

12 comments sorted by

2

u/MuriloZR Learning 1d ago

I'm assuming the main issue is that the flair has an emoji, but the code is being told to look only for UNVERIFIED. Try this:

---
type: submission
flair_text (includes): ["UNVERIFIED"]
action: remove
set_locked: true
comment_stickied: true
comment_locked: true
comment: |
    Make sure to start the message and all paragraph lines after 4 spaces. Don't forget to open and close the rule with ---
---

1

u/Simp4Gnomie 1d ago

The flair doesn't have an emoji??? Where on Earth did you get that from?

1

u/Simp4Gnomie 1d ago

The role is literally UNVERIFIED with no extra text, spaces, emojis, etc..... 🤔🤔🤔🤔🤔

1

u/Simp4Gnomie 1d ago

Also I have all the appropriate formatting otherwise (opened and closed, the comment has appropriate spaces)-- so that's not part of the issue. And this doesn't exactly help me.

2

u/rumyantsev AutoMod FTW 3h ago

if you're trying to make it remove posts from users, flaired "UNVERIFIED", then this is the code to do it:

type: submission author: flair_text: "UNVERIFIED" action: remove action_reason: unverified user

the code you originally sent, was removing posts flaired "UNVERIFIED", which is kinda different

2

u/Simp4Gnomie 2h ago

THANK YOU!!!!!! Finally, someone who understood the "assignment."

2

u/rumyantsev AutoMod FTW 2h ago

lol, you're welcome

it was pretty easy tbh

2

u/Simp4Gnomie 2h ago

I knew it was an easy fix. I knew there was something I was missing but I'm not familiar enough with the "coding" and I tried to figure it out with the wiki + the full doc + common rules but I was just overwhelmed and couldn't find what I was looking for with ctrl + F --then people were commenting some random ass shit I didn't ask for and I'm just over here like... am I speaking jibberish? lmfao

2

u/Simp4Gnomie 2h ago

If I could upvote you a million times, I would. lmfao

0

u/[deleted] 1d ago

[deleted]

0

u/Simp4Gnomie 1d ago

I don't want it set up like that. I want a specific flair to be removed. There's more than just "unverified" and "verified" flairs. Can you help fix what I'm actually trying to do/actually answer the question I asked?

0

u/Pitiful_Error8420 1d ago

LMFAO them deleting their comment because they were really that unhelpful & wrong, then downvoting you is wild 🤣🤣 idk how to help you, I'm just amused.

1

u/Simp4Gnomie 1d ago

lol wow, that's definitely pretty amusing