> For the complete documentation index, see [llms.txt](https://zts-guard.gitbook.io/zts-guard-discord-bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zts-guard.gitbook.io/zts-guard-discord-bot/adjusting-anti-link.md).

# Adjusting Anti-Link

If a link is not on the `ZTS Guard` Discord bot Anti-Link Allow list, then the link will blocked by anti-link.  When a link is blocked by Anti-Link, a log message appears in `#zts-guard-logs`.

## Available actions

From the log message, you can perform multiple actions:

* **Add to allow list** — add the link as-is (specific URL) or as a full domain.  In order to do this, you will need to complete a successful 2FA authentication attempt to do so.  Only registered **Admins** or **Mods** withing the `ZTS Guard` Discord bot with the `Manage Allow List Links` permissions can perform this action
* **Timeout** the user
* **Kick** the user
* **Ban** the user

<figure><img src="/files/dDV92Kp1k9F5lhI8yXG6" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Action buttons are greyed out if the user has already left the server.
{% endhint %}

## Adding links from logs (Reactive)

When adding a blocked link to the allow list from a log message, you will need to complete a successful 2FA authentication attempt to do so.  Only registered **Admins** or **Mods** withing the `ZTS Guard` Discord bot with the `Manage Allow List Links` permissions can perform this action.\
\
You then will be prompted with the option to add the Specific Link `As-Is` or by adjusting the domain before adding it to the allow list:

* **As-Is** — Add link to allow list as that specific URL only (`https://test.com/example/url`)
* **Domain Option** — Add link to allow list but adjusting that domain prior to adding (`test.com/*`)

{% hint style="warning" %}
Adding a link to the allow list from `#zts-guard-logs` still requires a successful 2FA session. Only users with the "`Can manage link allow list`" permission can do this.
{% endhint %}

## Adding links to Allowlist (Proactive)

Only registered **Admins** or **Mods** withing the `ZTS Guard` Discord bot with the `Manage Allow List Links` permissions can go to `#zts-guard-admin` and type `/anti-link` , enter a successful 2FA, and then add or remove links to the allow list.  This allows registered **Admins** or **Mods** withing the `ZTS Guard` Discord bot with the `Manage Allow List Links` permissions to add links to the allow list ahead of time before posting an announcement or before posting the link so that it will not get blocked if it wasn't previously on the allow list.

`/setup` → `Manage Anti Link Allowlist` or type /`Anti-link` → `Manage allowed Links`→Register (add to allow list) or Unregister links (remove from allow list)

<figure><img src="/files/C7MODqXPg0LAkQApxa4q" alt=""><figcaption></figcaption></figure>
