prevent malicious links and customize what links are allowed in your server
The Good Knight's anti-link capabilities are an important feature protecting Discord communities from malicious links and spam. Good Knight deletes any message containing unregistered links posted in channels the bot has access to. This includes hyperlinks supported by Discord such as:
- and more...
Disclaimer: There are always ways to sneak links past a bot. Good Knight's goal is to remove common link sharing methods so that malicious links require manual URL entry and/or improve the chances that a user can detect a malicious link
The anti-link system assumes that any link is malicious until registered to the allowlist by a Good Knight admin or mod. This includes links sent by users, webhooks, or other bots. Messages containing unapproved links are instantly deleted. The full message and the identified links are logged in the Good Knight Logs Channel.
There are two methods to register links to the allowlist:
Links can be registered as Specific, which requires the link to exactly match, or Global, which allows for a domain + path registration that will allow any link containing those parts.
- Warnings: Toggle on/off warning messages that will be sent when a user's message is deleted. These warning messages last for 5 seconds.
- Repost: Toggle on/off Good Knight resending the deleted message to the same channel it was deleted from, along with a warning for users to be careful. This option allows for unregistered links to be shared while reminding users that the link may be malicious.
- Anti-link Pro: Toggle on/off our advance link detection system
- Bot Immunity: Choose how anti-link handles certain users, bots, and webhooks. Choosing not to allow bot immunity means that you have extra protection against other bots being hacked.
The anti-link settings selected through the
/setupcommand apply server-wide. If finer control over anti-link is needed on per-channel or per-category basis, the
/channel-managergives the Good Knight admins the ability to register channels and categories to individually customize their settings.