# LOA Requests

### What is the LOA Requests module?

The LOA Request module allows staff to make request to be inactive for a certain period of time. This also integrates nicely into ERMs **/activity show** command by not including users who are on LOA on the list.

### Checklist

* [ ] Configuring the LOA Requests module.
* [ ] Creating an LOA Request.
* [ ] Deleting an LOA Request.
* [ ] Deleting all LOA Requests.
* [ ] Listing all LOA Requests

### Configuring the LOA Requests module.

* Run `/config` .
  * Click **Basic Settings.**
  * On the dropdown that appears, click **LOA Requests**.
  * If the first dropdown says **Disabled,** click on the dropdown and select **Enabled.**
  * On the second dropdown, select a role that you want to be given to someone when they are on LOA, and removed when they are off LOA. *(optional)*
  * On the third dropdown, select a channel where all LOA requests will go.

- [x] Configuring the LOA Requests module.

### Creating an LOA Request.

* Type `/loa request` and select the time and the reason.
  * **Time:**
    * The amount of time that you want to be on LOA for. (eg 5 days).
  * **Reason:**
    * The reason you want to be on LOA. (eg mopping the ceiling).

- [x] Creating an LOA Request.

### Deleting an LOA Request.

* Type `/loa admin` and select the user that you want to manage.
  * On the menu that appears, click **Delete**.

{% hint style="info" %}
**HINT:** If the user has no LOA active, you can not delete it. You can only delete active LOAs.
{% endhint %}

* [x] Deleting an LOA Request.

### Deleting all LOA Requests.

* Run `/server manage` .
  * Click on **Introduction**.
  * On the dropdown that appears, click **Activity Notices**.
  * Click **Erase LOA Notices**.

{% hint style="warning" %}
**NOTE:** This will **not** remove the LOA role from everyone on LOA.
{% endhint %}

{% hint style="info" %}
**HINT:** You can erase all pending requests by clicking **Erase Pending Requests**.
{% endhint %}

* [x] Deleting all LOA Requests.

### Listing all LOA Requests.

* Type `/loa admin` and select the user that you want to manage.
  * On the menu that appears, click **List**.

- [x] Listing all LOA Requests.


---

# 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.ermbot.xyz/home/modules/loa-requests.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.
