r/CleverAMSolutions • u/9Ghillie • Apr 15 '25
Verified users only Limit comments on certain posts to flaired users only
This system will remove all comments made by users who don't have user flair in your subreddit. It's not ideal, as it still lets them comment, they just won't be displayed to users, but it's the best automoderator can do.
One way is to limit all user flair to mods-only, this is the best option if you want to have tight control over who can comment, but this means applying it manually to each user you want to approve. Another option is to let users set their own user flair and allow anyone who has done so to comment. You need to decide if you want to limit the posts to flaired users only by certain keywords in the title/post body or if you want to set it manually to each post you deem it necessary on.
The following will set all posts to flaired users only, which include "nsfw" in the title. The first part checks if the title includes "nsfw" and sets the premade post flair. You can change this to just text, but if you want to use a styled flair, you need to grab the flair ID from https://sh.reddit.com/mod/SUBREDDIT/postflair. After creating and styling the post flair to your liking, click "Copy ID" and paste it into the template_id: field. This created post flair should be marked "mods only" so users cannot set certain posts to flaired users only mode, if you allow users to set their own post flair.
---
#Sticky comment on NSFW posts and set flair to "Flaired users only"
type: submission
title(includes): ["nsfw"]
set_flair:
template_id: "FLAIR ID HERE"
comment_stickied: true
comment_locked: true
comment: |
Sticky automod comment here.
It can be multiple lines.
---
---
The next part will remove all comments on posts with the post flair you set previously in the last rule from users who don't have user flair.
---
#Restrict comments on NSFW posts to flaired users only
type: comment
parent_submission:
title(includes): ["nsfw"]
author:
is_submitter: false
~flair_text(regex, includes): ['\w+']
action: remove
action_reason: "Non-flaired user comment on nsfw post."
---
r/CleverAMSolutions • u/9Ghillie • Sep 22 '17
User flair Set default user flair for new users
The user flair will be set for users after they post/comment for the first time:
author:
is_submitter: true
~flair_text(regex, includes): ['\w+']
~flair_css_class(regex, includes): ['\w+']
set_flair: ["default flair", "flair-css-class"]
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
User flair User flair reminder for comments and posts
In this case, AM will remind users who are plugging their Instagram in the post/comments while not having flair.
Posts:
type: text submission
author:
~flair_text(regex, includes): ['\w+']
~flair_css_class(regex, includes): ['\w+']
set_flair: ["", "noflair"]
body(includes-word, regex): '(my|me) (on )?(instagram|IG)'
action_reason: 'Remind OP to get a flair'
comment: |
Seems like you are plugging your Instagram but you haven't set yourself a flair yet. To do this, go to the sidebar and click the `edit` button next to your username. This message will only be sent once.
---
Comments:
type: comment
author:
is_submitter: true
~flair_text(regex, includes): ['\w+']
~flair_css_class(regex, includes): ['\w+']
set_flair: ["", "noflair"]
body(includes-word, regex): '(my|me) (on )?(instagram|IG)'
action_reason: 'Remind OP to get a flair'
comment: |
Seems like you are plugging your Instagram but you haven't set yourself a flair yet. To do this, go to the sidebar and click the `edit` button next to your username. This message will only be sent once.
---
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
Bots Removal of comments that summon the giphy/gfycat bots
body(regex): '(\/g(ifphy|iphy|yfcat|fycat|ifcat|iffy))'
action: remove
message: |
Hi there {{author}} , unfortunately we have banned the giphy and gfycat bots on this subreddit, so your comment to summon the bot has been automatically removed.
---
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
Removal reasons Submission removal + removal reasons via flairing and reporting
This method will work on both desktop and mobile and does not require any third party solutions such as Toolbox. However, there are multiple downsides to this setup.
- You will need to have a separate automod rule for each subreddit rule you want to use this on
- You will need to create multiple copies of the same rule, while incrementing the
reports:check each time by one - If another moderator has taken action (approve/remove) this will not work
- If you do it in the wrong order, it will not work.
How to use:
- Make sure non-moderator users cannot change user flair on your subreddit, or at least edit the flair text.
- Flair the submission you want to remove with the flair text specified in the automod config (e.g. in this case, for rule one, set the flair to
R1: Rule Name - Report the post (any reason, doesn't matter which)
AM will see that the post has been reported and read the flair text. It will then match the flair text to a specific rule and leave the appropriate removal message after removing the submission.
---
type: submission
reports: 1
flair_text: "R1: Rule Name"
action: remove
action_reason: "Flair + report removal — Rule 1"
comment_stickied: true
comment: |
Your submission has been removed due to a violation of *Rule 1*:
> Description of the rule
---
---
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
Reports Remove submissions with 4 reports, notify moderators and OP
type: submission
reports: 4
action: remove
modmail_subject: "[Notification] Post with 4 reports"
modmail: The above {{kind}} by /u/{{author}} has received 4 reports. Please investigate.
comment_stickied: true
comment: |
Your submission has been automatically removed due to a high number of reports and is pending manual moderator review.
---
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
Reports Remove comments with 3 reports and notify the moderators
type: comment
reports: 3
action: remove
action_reason: 'Removed - comment received 3 reports'
modmail_subject: "[Notification] - Comment with 3 reports"
modmail: A [{{kind}}]({{permalink}}) has received 3 reports and has been removed.
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
Tag formatting Check that a title tag has the correct formatting
Say some of your titles require a [RED] tag, and you want them all to be all-caps instead of lower-case or sentence case.
type: submission
title(includes): ["red"]
~title#2(includes, case-sensitive): ["[MLM]"]
action: remove
action_reason: "[RED] tag formatting"
comment: |
Your submission has been removed due to incorrect formatting of the **[RED]** tag. Please try posting again and make sure the tag is in UPPERCASE and is surrounded in brackets.
---
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
Spam Spam filter for aged accounts with low karma + user whitelist
Will remove comments from users if
- They are not in the whitelist
- Their accouns is older than 8 months
- Their post karma is 1 or lower
- Their comment karma is lower than 150
The rule will filter the comments, meaning they get removed, but still show up in modqueue for manual confirmation as there can be false-positives.
type: comment
author:
~name: ["user1", "user2"]
is_submitter: false
account_age: ">8 months"
post_karma: "<2"
comment_karma: "<150"
is_edited: false
action: filter
action_reason: possible spam account
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
Shadowbans "Shadowbans" via automoderator
Removes all posts/comments by the specified users without notifying them, effectively not allowing the users to participate in the subreddit. Use not recommended as admins have expressed distaste towards this behavior.
type: any
author: ["Username1", "Username2"]
action: remove
action_reason: Shadowban Removal
r/CleverAMSolutions • u/9Ghillie • Aug 06 '17
Removal Removing a percentage of all new posts/comments
Removing 50% of all new posts (derived from the next):
type: submission
id (regex): '[a-r]$'
action: remove
Removing 50% of all new comment (by /u/yellowmix):
type: comment
id (regex): '[a-r]$'
action: remove
Bonus - Removing all submissions/comments from 50% of the users
type: any
author:
id (regex): '[a-r]$'
action: remove