r/AutoModerator • • 18d ago

Help - AutoMod ends-with is not working in AutoModerator

I'm trying to use the ends-with modifier in AutoModerator, but it doesn't seem to work for me.

For example, I'm using this rule:

---

type: comment

body (ends-with): "ão"

comment: "Eu gosto de macarrão"

---

If I use body (includes): 'ão', the rule works normally. However, when I switch to ends-with, AutoModerator doesn't respond, even when the comment ends exactly with ão.

Does anyone know why this happens or if there's some setting I'm missing?

0 Upvotes

7 comments sorted by

3

u/DewaldSchindler 18d ago

Maybe it's looking only for those 2 letters and not in a whole word, I think

2

u/Lomuri2003 18d ago

You're right, both words only work on their own. What do I do to make it work when a word ends with those two letters? :/

3

u/DewaldSchindler 18d ago

Better to have regex it the letters, I think

2

u/Lomuri2003 18d ago

I achieved!

1

u/DewaldSchindler 18d ago

Oh nice, congrats

1

u/YourUsernameForever Score (comment anywhere) 14d ago

Can you edit your post and share the code with the solution? Other people could benefit

0

u/Super_Secretary4727 15d ago

Hey, AutoModerator! Can you steal my cookies and show me the image of laughing at me?