---
description: >-
  The blocker system will block specific content in your server. From messages
  to reactions, it has it all!
---

# ⚠️Blocker

{% hint style="danger" %}
This system has been deleted and will not work anymore. Please read [this page](../start-here/infinitybot-deletion-notice) for more information.&#x20;
{% endhint %}

## Setup

The block system can be enabled with the `/setup blocker` command.&#x20;

| Command Option Name | Function                                                                                                                        |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| action              | In this option you can select what action you would like to take. You also have to selet the type of blocker you want to toggle |
| log-channel         | In this option you can select a log channel for your blocker. All actions taken by this system will be send here.               |
| white-list-role     | In this option you can select what role should not be affected by the blocker system.                                           |

{% hint style="info" %}
If you want to enable multiple blockers, just run the command multiple times with another action!
{% endhint %}

{% hint style="info" %}
Users with the `manage server` permissions are always whitelisted from the blocker system.
{% endhint %}

### Blocker Types

There are a lot of blocker types, we have listed them all below:

<details>

<summary>Poll Blocker</summary>

The poll blocker will block polls send by members in any channel.

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2Fbn7Bb2wGcdIE6oL7s6Id%2Fimage.png?alt=media&#x26;token=d3dc2fc3-5966-4ef8-89ef-3f71d7b78eb3" alt="" width="312"><figcaption></figcaption></figure>

</details>

<details>

<summary>Header Blocker</summary>

The header blocker will block any headers send by members in any channel.

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FcYOFLFtueBIv82NNGPSU%2Fimage.png?alt=media&#x26;token=9d13e465-e9bf-401b-8dce-fdd18cffde5c" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>Reaction Blocker</summary>

The reaction blocker will block specific reactions that are added to messages. When you use the `/setup blocker` command, it will send a message where you can react to the message with reactions that you want to be blocked.&#x20;

If you want to remove a reaction from the blocker, just react with that reaction again.&#x20;

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FjZ7YKk1qfYktGTdDkrxW%2Fimage.png?alt=media&#x26;token=71f3d2be-c7bf-4f51-92a0-da97c6d2463a" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>Pin Blocker</summary>

The pin blocker will unpin messages that where pinned by users with the manage message permission. This is useful to prevent mods from pinning messages.

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2Fis6wQ0nOJYOBUN2k1c1z%2Fimage.png?alt=media&#x26;token=46728030-71ec-4428-98b3-0d7dac9e33d8" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>Sub-text Blocker</summary>

The sub-text blocker will block messages that contain sub text.&#x20;

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FnHme6puF6JXwYYoA8wsJ%2Fimage.png?alt=media&#x26;token=d176684b-0e95-44a3-8b95-9fe47f8cbfbb" alt=""><figcaption></figcaption></figure>



</details>

<details>

<summary>Masked Links Blocker</summary>

The masked links blocker will block messages that contain masked links.&#x20;

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2F89pbuBkeX0NGRuo14nwQ%2Fimage.png?alt=media&#x26;token=be229e3c-b655-4b4c-8508-3c651a625b94" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>Ghost Ping Blocker</summary>

The ghost ping blocker will, when a user @mentions a user and deleted the message, tell the user to not do that and log the action. If the user continues doing it, they will be muted.&#x20;

</details>

<details>

<summary>Ping Blocker</summary>

The ping blocker will block messages that contain @mentions from people who have been marked as un-pingable.

</details>

### Demonstration

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2Fxppv0JSJ3QLauiIsINhM%2Fblocker.gif?alt=media&#x26;token=dc1667a4-3ba1-45e6-8044-96d0ac1eb8f6" alt="" width="563"><figcaption></figcaption></figure>
