> For the complete documentation index, see [llms.txt](https://docs.ermbot.xyz/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ermbot.xyz/home/modules/loa-requests.md).

# 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.
