r/AutoModerator • u/SuperSajuuk • 22h ago
Help - Automations Block post if user sets flair and has no URLs of any kind
I'm looking to migrate some of my AutoModerator YAML config to the Automations feature, to improve reliability and avoid the messiness of things not firing as intended, but also to expand some of the filtering we wanted to do but couldn't easily do in AutoMod.
I basically want to make an Automation where:
- If the user has selected a specific flair, and
- the body doesn't contain any URL whatsoever
then it blocks the post from being submitted with a message. Now I'm aware that Automations cannot trigger if the body is empty, so if someone uses the flair but includes no body, the Automation will not trigger: would it be worth having an AutoModerator config backup for this, and if so, how would I configure it (assuming AutoModerator can detect empty message body's?)
TIA for any guidance people can share around this.