Good Knight Docs
Search…
⌃K

link-register

Command

/link-register

tl;dr

Register or unregister links to allow them to be sent in the server
Secret Hint! If you want to quickly register multiple links, send them in the same message. Good Knight will delete them and send a menu in the Good Knight logs channel where you can register them all with a few clicks. It's recommended to send less than 20 links at the same time

Description

Allows a Good Knight mod to register/unregister a specific or global link for the server. The Good Knight bot will no longer delete this link when anyone posts it in any channel that the bot has access to.
Tip: A good place to find links to register is in the Good Knight logs channel. Whenever a message with an unapproved link(s) is deleted, the message is reposted in this channel with a list of the unapproved links
When executing the /link-register command, Good Knight will prompt you for your Good Knight password. After entering your password, you will be asked whether you'd like to register or unregister a specific or global link.
​
​
  • Specific Link - Only this exact URL will be allowed in your server For example: https://docs.goodknightbot.com/commands/link-register
  • Global Link - Register a link domain + partial path to allow all types of links containing those URL parts For example: if you register goodknightbot.com/commands/, messages including links like above will be allowed
Careful with global link registration as it could re-introduce vulnerabilities
Tip: You can see what links have been registered using the /display-items command

Permissions

The Good Knight bot should have in the Good Knight admin and logs channels:
  • View Channel
  • Send Messages
  • Embed Links

Required

  • None