# Age Gate

![](https://i.imgur.com/h8NrWl2.png)

* **What is an age gate?**

> **Answer :** To prevent user of certain age entering your server you can use age gate. Using this you can setup an age gate channel where user would enter their DOB to get a role which allows user to access full server.

## Some notable features :

* Customize age which should be entered to get the role
* Either kick/log if an user is underage

## Commands :

&#x20;

**`/age gate start` : Start age gate**

> **Necessary Arguments :**
>
> * `role` : Role assigned on verification by age gate system
> * `type` : What would happen to user who are underage?
>   * `report` : report in log channel
>   * `kick` : kick the user
>   * `ban` : ban the user
> * `agechannel` : Channel to set age gate system in
> * `logchannel` : Channel for age gate log system

> **Optional Arguments :**
>
> * `delete` : Delete DOB after verifying or taking action
> * `age` : Age user should have to be verified by age gate
>   * Default : 18

&#x20;

**`/age gate stop` : Stop age gate**


---

# 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://diswiki.itzleo.com/age-verification/age-gate.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.
