# ModMail

![](/files/ZiTzVzHYjg9ZV20jx18a)

## Commands

| Command                      | Description                                    |
| ---------------------------- | ---------------------------------------------- |
| /modmail enable              | Enables ModMail in your server                 |
| /modmail close \[duration]   | Closes a ModMail thread                        |
| /modmail open-thread \<user> | Opens a ModMail thread with the specified user |
| /modmail alert               | Alerts you when the user replies               |

{% hint style="info" %}
The Modmail process is simple, when typing /modmail in your server, your server will be added to the bot's database and will appear on the list when a user DMs the bot. DMing the bot the user will have the opportunity to select the server they would like to contact, each number corresponds to a server. Once they have selected a number the bot will create a channel in the selected server where a server admin can change the permissions of the category to who can view the modmail channels.
{% endhint %}

{% hint style="info" %}
When replying to a user you would just type your message in the thread channel and it will automatically send to the user, no prefix is needed when sending messages. Please note that every message you send in that channel will be sen
{% 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://docs.alph4.xyz/modules/modmail.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.
