Links

Anti-link

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:
  • https://
  • http://
  • discord.gg/
  • discord.com/invite/
  • 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:
  • Deleted Link Drop-down: Messages that were deleted and logged have a drop-down menu that offers a quick way to register links
  • ​/link-manager​
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.
​
​

Setup Options

When running the /setup command, a server can customize anti-link in several ways.
  • 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.

Registering Channels

The anti-link settings selected through the /setup command apply server-wide. If finer control over anti-link is needed on per-channel or per-category basis, the /channel-manager gives the Good Knight admins the ability to register channels and categories to individually customize their settings.
Supercharge anti-link by enabling Anti-link Pro which catches many more potential links, including non-hyperlinks and other common ways that people attempt to bypass basic anti-link.
​Premium feature​