r/ModSupport • • 17d ago

Mod Answered Is there a way to automatically remove posts from users with telegram usernames in their bio?

I moderate a nsfw sub, every day we get a number of spam posts from bot accounts. These accounts all have telegram usernames in their bio. I already have hive protect set up to block accounts with telegram links, but these accounts just have the usernames. I have bot bouncer aswell.

15 Upvotes

11 comments sorted by

20

u/cnycompguy 💡 Top 10% Helper 💡 17d ago

Install automod neo and use the following code:

friendly_name: "Telegram Bio Removal (Submissions)"
type: submission
author:
    bio_text (regex): ['\b(?:tele(?:gram)?|tg)\b', '\bt\.me\b']
action: remove
action_reason: "Bio contains Telegram reference (spam prevention)"
comment: |
  We do not allow posts from telegram sellers due to rampant fraud on that platform.

---

1

u/strongbowblade 12d ago

I've given it a try but unfortunately it's catching genuine users aswell. Can it be set to ignore posts with certain flairs?

1

u/cnycompguy 💡 Top 10% Helper 💡 12d ago

I'll look into it, but when I had a couple of legit users complain, I just explained the situation and told them they can't have the word or abbreviation in the bio, not even to say they don't use it.

I've had zero problems with those scammers and spammers ever since adding that.

Neo can definitely check flair for exclusion. Did you want a specific flair to be immune or anyone with a user flair?

1

u/strongbowblade 12d ago

Specific flairs. It's removing posts when the bio says things like "I don't have telegram" so if I could exclude phrases like that as well it would be good.

4

u/YouTube_ADHDAdvocacy 17d ago

Neat! Replying so I can find if needed.

7

u/juleznailedit 17d ago

You can also save posts and comments for future reference rather than commenting.

3

u/AssTasticWoman 16d ago

Thank You!! I mod multiple nsfw subreddits and using Bot Bouncer & Ban Purge together has helped immensely. Using this in addition sounds like a great plan.

2

u/cnycompguy 💡 Top 10% Helper 💡 17d ago

You can also switch the type from submission to any in order to zap comments as well.

9

u/RandomComments0 💡 Top 10% Helper 💡 17d ago

There’s a devvit called social blacklist. I’d look at that.

1

u/strongbowblade 13d ago

I've added it to my sub and set it to remove posts and ban where the user has a blacklisted word in their about description. But it's not taking any mod actions.

3

u/FootFondness 17d ago

I’ve run into the same thing in my subs. Telegram links are banned sitewide, but these accounts get around that by simply putting their Telegram usernames in their bios. I’ve noticed those accounts causing issues in my subs too, so it’s definitely a useful spam signal.