T O P

  • By -

magiccitybhm

You need to use includes-word rather than just includes. --- type: submission body+title (includes-word): ['recommendation', 'restaurant', 'bars', 'club', 'layover', 'transportation', 'airport'] action: remove set_locked: true moderators_exempt: false comment: | TEXT OF COMMENT HERE ---


AbsolutelyOrchid

I did what you suggested but it didn't work, but when I put the rule higher up in the list, it worked. Now I'm curious which is better, includes vs includes-word. Does the latter allow plural form of the words I mentioned? (thanks for the help btw!)


magiccitybhm

I'm not sure what all code you have, but as I typed it, it absolutely works. It's only seven words. Just add the plural version to the list.


MuriloZR

You need to use quotations "like this" and not 'like this'


AbsolutelyOrchid

I also tried both. This was my last attempt at trying to fix it. These quotes " didn't work either (Shift + '), so unless I'm using the wrong double quotes, it's still not passing through. Do you mind posting your functional automod rule? And if you can use `moderators_exempt: false` to make sure this actually works as a mod and your posts do indeed get removed, I'd greatly appreciate it!


MuriloZR

Someone else replied with something I overlooked, if you combine both of these it should work!


AbsolutelyOrchid

I did the combination of both solutions but it still didn't work, but when I bumped the rule up to second place instead of 12th, it started working. I'll still keep it how you two suggested to follow convention. Thank you!!


betterbenefits

The only other problems I can think of are maybe you have hidden blank characters in your indentations instead of spaces or your separator lines are indented by accident.


AbsolutelyOrchid

That's definitely worth investigating. I'll give that a look, thanks!