# Setting Up Auto Kick

Please ensure you have enabled rule screening before using this feature. To change settings, run `/autokick enable` again with your new values.

{% tabs %}
{% tab title="Enable and Edit" %}

```
/autokick enable <grace_period> <message(optional)> <use_embed(optional)>
```

When enabling auto kick you can tune the member experience with three options.

1. `grace_period` is the number of hours a pending member can stay before removal
2. `message` is an optional direct message sent before removal
3. `use_embed` sends the kick message as an embed when set to true

We recommend sending the invite link in the message in case the user would like to rejoin.

> You can assign a grace period of up to **48 hours** with **GateKeeper Standard**

**Wait up to a Week** ![GateKeeper Plus Feature](https://img.shields.io/badge/GateKeeper%20Plus-5865F2?style=flat)

* **GateKeeper Plus** subscribers can set a grace period up to **168 hours**.
  {% endtab %}

{% tab title="Disable" %}

```
/autokick disable
```

This command will disable auto kick in your server.
{% endtab %}

{% tab title="Show Config" %}

```
/autokick show-config
```

Displays the current configuration of auto kick within your server. If a message is configured, then an example message will also be sent.
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gatekeeperbot.net/auto-kick/enabling-disabling-auto-kick.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
