# Antinuke

{% hint style="info" %}
Replace `[prefix]` with your server's prefix.
{% endhint %}

## Information

{% hint style="warning" %}
To start using antinuke, you need to need to use `[prefix]antinuke setup`.
{% endhint %}

Antinuke is triggered by a threshold set **per user**.

Your antinuke should **never** have to be higher than 5. Antinuke will not work as well if it's threshold is set high. We recommend a threshold between 1 and 5.

## Parameters <a href="#parameters" id="parameters"></a>

| Name       | Description                   |
| ---------- | ----------------------------- |
| threshold  | Threshold to trigger antinuke |
| punishment | Action to be taken on trigger |
| time       | Threshold for account age     |

{% hint style="info" %}
Review the contents of each **antinuke subcommand** to see what parameters are supported. All parameters above aren't available to every subcommand!
{% endhint %}

## Punishments

Click the following to view all antinuke punishments available:

{% content-ref url="../miscellaneous/antinuke-punishments" %}
[antinuke-punishments](https://docs.serenity.wtf/miscellaneous/antinuke-punishments)
{% endcontent-ref %}

## Admins & Whitelist

You can whitelist members from triggering antinuke by using `[prefix]antinuke whitelist [user]`.

You can also grant antinuke admin to a user, which allows them to modify antinuke settings. You can do this by using `[prefix] antinuke admin [user]`. Only give this to people you trust.

{% hint style="warning" %}
Be careful who you whitelist. They can nuke your server without being detected by antinuke.
{% endhint %}

## Antinuke Logging

You can set a channel to send antinuke logs by using `[prefix]antinuke logs`. Whenever antinuke is triggered, a message will be sent to that channel. It is recommended that you set this up.
