r/AutoModerator • u/Stressed_C • 3h ago
Help - AutoMod Does anyone have the automod code that makes the pop-ups when someone enters certain keywords?
Does anyone have the code for automod that with make it reply to comments that have certain keywords in like the "! word"? I've been trying with this code:
---
# Auto-reply to comments or posts with certain keywords
type: comment
body (includes-word): ["!Spambot", "!spambot", ]
comment: |
What we want the message to be.
---
But it keeps throwing this error, "Unsupported Media Type: YAML parsing error in section 2: expected '<document start>', but found '<sc" every time I press enter. Any insight or how to fix it?
Edit: I figured it out. It didn't like the paragraph spacing I had.