#
Link Filter
Link Filter is a feature of The Cleaner dedicated to fighting links on Discord.
Link Filter automatically submits all unknown links to a mod-only channel. The submitted message contains buttons to whitelist or blacklist the url.
- Whitelisting: The link will no longer be submitted for review.
- Blacklisted: The link will be deleted when sent.
Whitelist has priority over blacklist.
#
Block all unknown links
There is an additional option for automatically deleting all unknown links. All unknown links will be submitted for review and automatically deleted until they have been whitelisted.
#
Link preview
You can enable Link Previews which will allow you to determine if a website is malicious without having to visit it yourself.
Please note websites that easily detect that a bot is making the request and
block it or show a different page.
For example, our own website cleanerbot.xyz
is using advanced Cloudflare
Firewall rules that are blocking the bot.
#
Link format
A link has 4 parts:
- the scheme (http/s, ftp, discord, steam, ...)
- hostname (example.com)
- path (/helloworld.html)
- query string (?hi=true)
You can use *
at the start and end of each part for wildcard matching.
Examples:
*://youtube.com/*
will matchhttps://youtube.com/watch?v=a6pbjksYUHY
*://*/*watch*
will match any path containing the wordwatch
#
Example
Example to block all opensea links except the main page and a certain collection.
- Whitelist:
*://opensea.io/
*://opensea.io/collection/angy-chubbies
*://opensea.io/assets/matic/0x2953399124f0cbb46d2cbacd8a89cf0599974963/*
- Blacklist:
*://opensea.io/*