Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

autoban any links in bio that redirect to certain domains #30

Open
twilight-sparkle-irl opened this issue Nov 26, 2019 · 3 comments
Open
Assignees

Comments

@twilight-sparkle-irl
Copy link

for example: your-dating-space[.]com has been a prolific one

@bclindner
Copy link
Owner

bclindner commented Nov 26, 2019

This is sort-of doable with bio_content if you need a stopgap - the domain that we see the most of is sexie.ru or something like that:

      {
        "name": "No link-in-bio spammers",
        "type": "bio_content",
        "blocked": ["sexie\\.ru"],
        "severity": 1,
        "punishment": {
          "type": "suspend",
          "message": "Your account has been suspended for spamming."
        }
      }

However, for this to be properly doable, I will need to implement link_content and link_resolver equivalents that check the bio instead of message content.

@bclindner bclindner self-assigned this Nov 26, 2019
@twilight-sparkle-irl
Copy link
Author

The bio should hopefully include the metadata, because I see most bots dropping "Website: [spam]" into those

@bclindner
Copy link
Owner

Yeah, I specifically made bio_content include fields for that reason.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants