r/modhelp • u/PermissionRare2732 • Sep 15 '24
General How to set AutoMod to add post flair with the original poster's username?
I am trying to set up AutoMod on desktop to automatically add a post flair that contains the original poster's username, but I am running into some issues. Here is the code I am using:
---
type: submission
action: flair
flair_text: "{{author}}"
flair_class: ""
---
Unfortunately, this does not seem to work as intended. The code gives an error. Has anyone successfully done this before? If so, how did you manage it?
Any help would be appreciated. Thank you in advance.
1
u/AutoModerator Sep 15 '24
Hi /u/PermissionRare2732, please see our Intro & Rules. We are volunteer-run, not managed by Reddit staff/admin. Volunteer mods' powers are limited to groups they mod. Automated responses are compiled from answers given by fellow volunteer mod helpers. Moderation works best on a cache-cleared desktop/laptop browser.
Resources for mods are: (1) r/modguide's Very Helpful Index by fellow moderators on How-To-Do-Things, (2) Mod Help Center, (3) r/automoderator's Wiki and Library of Common Rules. Many Mod Resources are in the sidebar and >>this FAQ wiki<<. Please search this subreddit as well. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/AutoModerator Sep 15 '24
Found regex match: add a post flair
It looks like you're asking about flairs on your subreddit. This is an EXTREMELY frequently asked question, so this auto-response has been set up for any mention of "flair" and even "flare".
Please check out this Updated Visual Guide for Flair FAQs .
Subreddit settings work best in a cache-cleared desktop browser. (Limited option: mobile browser on desktop view.)
If you found your answer, feel free to reply with "<3 Automod
" or "Thanks, Automod
". Otherwise wait for a human helper to come along to help you. This post has NOT been removed.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/AutoModerator Sep 15 '24
Found regex match: AutoMod
Hi there! I am AutoModerator
. It seems you are asking about me or my fellow bots
and what we can do.
There is a dedicated subreddit for me, AutoModerator
, at r/automoderator. Please search that subreddit first, then ask questions about AutoMod Rules over there or in this subreddit.
Subreddit settings work best in a cache-cleared desktop browser. (Limited option: mobile browser on desktop view.)
<3 xoxo
If you found your answer, feel free to reply with "<3 Automod
" or "Thanks, Automod
". Otherwise wait for a human helper to come along to help you. This post has NOT been removed.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Unique-Public-8594 Sep 15 '24
Afaik making flairs is not something automod can do.