# Maintenance

### <mark style="color:$primary;">The maintenance</mark>

In order to perform maintenance, make sure that the bot has the following permissions:

| Required permissions | Reasons                                                                        |
| -------------------- | ------------------------------------------------------------------------------ |
| View channels        | Allows the bot to know the channels.                                           |
| Manage channels      | Allows the bot to manage channels and change their names.                      |
| Manage roles         | Allows the bot to add/modify roles and manage permissions                      |
| Send messages        | Allows the bot to send messages in the channels where the command was entered. |
| Manage Webhook       | Allows the bot to send messages in the correct format.                         |

### <mark style="color:$primary;">Command usage</mark>

When the conditions are met, you can use the command `/maintenance`.

Ultra Customizer will prompt you to add a title and description (required) and select a salon (optional).

{% hint style="info" %}
If no salon is selected, maintenance can be performed without sending a public message.
{% endhint %}

![](/files/9kOKBqqpVmnjMgQ8ASf1)

Once the settings have been completed, you will have access to the maintenance mode configuration window.

![](/files/kYhrvvv5pkMV46s3a8zF)

{% hint style="success" %}
You can define multiple roles and multiple rooms using the selectors.

The fewer rooms and roles there are to manage, the faster maintenance will be.
{% endhint %}

Once maintenance is activated according to your settings, the rooms will be modified to partially or completely restrict the rooms selected for the roles.

{% tabs %}
{% tab title="Partial mode" %}
Prevents users from speaking and interacting with selected rooms.
{% endtab %}

{% tab title="Complete mode" %}
Completely masks all selected salons for the defined roles.
{% endtab %}
{% endtabs %}

{% hint style="danger" %}
It is important to note that the bot will record the permissions of all selected channels before performing maintenance in order to restore them as they were at the end of maintenance.

Please take the time to carefully check your permissions before activating maintenance to avoid unwanted issues.
{% endhint %}


---

# 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://nexuscore.gitbook.io/ultra-customizer/en/options/maintenance.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.
