> For the complete documentation index, see [llms.txt](https://infinitybot.gitbook.io/infinitybot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitybot.gitbook.io/infinitybot-docs/automatic-moderation/automod-dashboard-manager/suspected-spam.md).

# Suspected Spam

The suspected spam rule will block messages it suspects to be spam. You can learn how to enable it with the steps below.&#x20;

{% stepper %}
{% step %}

### Decide What Rule You Want To Create

First of all, you will have to decide what rule you want to create. You can do so [here](/infinitybot-docs/automatic-moderation/automod-dashboard-manager.md#decide-what-rule-you-want-to-create).
{% endstep %}

{% step %}

### Enable the Rule

Then, you will need to enable the `Block Suspected Spam` rule, you can do so by toggling the toggle switch of the correct rule.&#x20;

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FxBzultjR53otFvQjmShC%2Fezgif-7b0654d73cc5c1.gif?alt=media&amp;token=67b2d334-3d1b-4c43-90d8-5a8d495f4287" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Configure Actions

After enabling the rule, you will be able to enable actions to take after a user broke the rule.

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2Fmh6EAl0llvcgkj6iPXiw%2Fimage.png?alt=media&amp;token=b9b6e8a6-ff4a-4345-b58c-25f5a73ff104" alt="" width="332"><figcaption></figcaption></figure>

#### When rule is triggered

In this menu you can select what you want Discord to do when a message triggers this AutoMod rule. You can choose from:

* **Block Message**, this will block the message from being send in your server.
* **Send Alert**, this will flag the message for review by one of your moderators.

{% hint style="info" %}
Timeout Members has been disabled for the suspected spam rule by Discord.
{% endhint %}

#### Alert Channel

In this menu you can select the channel where you want AutoMod actions to be logged. Make sure this is a moderator-only channel!

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FeJLuYqMBvye5Zt64wnip%2Fimage.png?alt=media&amp;token=2206bf78-aecf-4529-b882-9c10dde9baa1" alt=""><figcaption><p>An example AutoMod log</p></figcaption></figure>
{% endstep %}

{% step %}

### Configure Exemptions

Now you can select channels, categorys and roles that you want the AutoMod rule to ignore. Users with these roles or in these channels can bypass this rule.&#x20;

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FxTHuAI4lXZ926INERrpO%2Fimage.png?alt=media&amp;token=7679a336-2ce6-424d-a2d4-0fac4ee029d8" alt="" width="223"><figcaption></figcaption></figure>

{% hint style="success" icon="lightbulb-on" %}
Both actions and exemptions can be configured as [default settings](/infinitybot-docs/automatic-moderation/automod-dashboard-manager/automod-settings.md#default-settings). This way, they will be the same for all AutoMod rules in your server.&#x20;
{% endhint %}
{% endstep %}
{% endstepper %}

***

#### [Back to main AutoMod Dashboard page](/infinitybot-docs/automatic-moderation/automod-dashboard-manager.md)
