https://www.reddit.com/r/AutoModerator/comments/1idw1rx/im_having_trouble_getting_automoderator/
created by Similar_Repair_4761 on 30/01/2025 at 20:03 UTC
0 upvotes, 1 top-level comments (showing 1)
The instructions were a but comfusing and some of the links didn't work, can someone please explain how do i use it?
Comment by Unique-Public-8594 at 30/01/2025 at 20:32 UTC
2 upvotes, 1 direct replies
Here’s a copy/paste from another post, a step-by-step intro on setting up automoderator. I hope it’s helpful. If you find any errors in it please let me know. Usually, it’s not hard to do. (Can be fun actually.)
Use a desktop computer.
You will need 2 mod permissions (Manage Wiki and Manage Settings), a nonissue if you created the sub yourself (in which case you get full permissions automatically). To check your permissions go to Mod Tools > User Management > Moderators list.
To locate automoderator, select Mod Tools. If Automod is there, click on Automod and then Edit or “Create Page”. If you don’t see a “Create Page” button, **replace “yoursubredditname” in the link below with the name of your sub**:
https://www.reddit.com/r/yoursubredditname/wiki/config/automoderator
Once there (the “config” file), you will find a link to create automoderator.
Below is an example of code that removes all posts and comments from a user with a new account and sends a message to tell them why their post/comment was removed. copy/paste this into your automod (including the 3 hyphens at the beginning and end):
---
type: submission
author:
account_age: “< 2 days”
action: filter
action_reason: “new account.”
message: |
“Your post or comment was removed because you do not meet this subreddit’s account age minimum.”
---
Notice the indent on the minimum line. Those are important.
You can change the minimum to whatever number you prefer.
Save.
Done.
As long as the user doesn’t delete their comment or post, you would find it in your Mod Queue with the reason shown as “new account”. Keep in mind that some good content may get swept up by this filter along with the bad, so it’s important to check your Mod Queue for false positives on a frequent basis and approve the good content.
If you aren’t comfortable doing this, another option is to ask someone here to assist you- giving them temporary Manage Wiki Pages mod permissions only.
More code help on r/Automoderator side bar and About section.
If you run into “unsupported media”, a workaround is going to old.reddit.com.
Hope it works well for you.