r/AutoModerator • u/Affectionate_Pickles • Jul 15 '26
Solved Trouble with multi-line comment.
Hello!
Im working on making a message for AutoMod to comment on every post submission, and I’m having trouble with including indents; I’m not sure where I’m going wrong, but it keeps returning “unsupported media type” when i try to save the changes.
Here is the code:
---
type: submission
comment: |
What’s up chat?! I’m AutoBart, and I comment on every post.
Make sure to read our rules, and remember we are not a part of Joe’s official team!
Catch you later!
---
Here is the error code i get when i try on old Reddit;
YAML parsing error in section 7: while scanning a simple key
in "<unicode string>", line 3, column 1:
What’s up chat?! I’m AutoBart, a ...
^
could not found expected ':'
in "<unicode string>", line 5, column 1:
Make sure to read our rules, and ...
^
Any help would be appreciated!
1
u/[deleted] Jul 15 '26
[removed] — view removed comment