# Logs

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

In order to create and use logs, make sure that the bot has the following permissions:

| Required permissions | Reasons                                                                         |
| -------------------- | ------------------------------------------------------------------------------- |
| Send messages        | Allows the bot to send messages in the chat room where the command was entered. |
| Manage Webhooks      | 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 `/setlogs`.

Ultra Customizer will then ask you to choose a chat room that it will record in order to display when actions are performed.

![](/files/z5m0VJvjYp7eXOZjSORQ)

Once you have selected the chat room, the bot will send a confirmation message and you will receive messages in the chat room when changes are made via the bot.

![](/files/QJhT23T6DJt0FiCITCjK)

{% hint style="info" %}
Only actions from the Ultra Customizer bot will be listed.
{% 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/logs.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.
