# Leave of Absences

With the help of our leave of absence module, you can keep track of every staff's leave, including the date it started, date it will end, reason, and more!

{% hint style="info" %}
Before using this module, make sure that the leave of absence module is enabled in the [Configuration](https://docs.trident.bot/info/config) menu and configured [correctly](https://docs.trident.bot/info/config#configure-the-leave-of-absence-module).
{% endhint %}

## <mark style="color:blue;">Creating a Leave Request</mark> <a href="#create" id="create"></a>

To create a leave request, run the `/leave request` command with the following parameters.

**duration**\
The length of time you will be on leave. This should be in the short time format.\
E.G. `6d` will create a leave request for 6 days.

**reason**\
The reason for your absence.\
E.G. Going on holiday.

This request will be accepted or denied by server management.

## <mark style="color:blue;">Accepting/Denying Requests</mark> <a href="#managing" id="managing"></a>

As management, you can accept or deny a leave request. To do this, just click the corresponding buttons in your leave requests channel.

<figure><img src="https://1534176999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLDhEmj0gJUQq8zryWvIW%2Fuploads%2F5B3R9F4DSr0AZjKCYoPp%2FLeaveRequest.png?alt=media&#x26;token=95237dc7-1710-4f16-8a2b-969867ea4d07" alt=""><figcaption></figcaption></figure>

## <mark style="color:blue;">Ending Absences</mark> <a href="#ending" id="ending"></a>

To end a leave of absence, just simply run the `/leave manage` or `/leave admin` command and press the end leave button.


---

# 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.trident.bot/modules/loa.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.
