# customise embeds

### Overview

Learn how to customise and set up the embed when users DM the bot, the new ticket embed panel, the close embed response, and set up an optional ticket panel your members can use to create a modmail ticket!

{% hint style="info" %}
**Resources:** Read the [Variables List](/nabi/resources/information/variables-list.md) page to learn how to incorporate [user data](https://nabi.gitbook.io/nabi/resources/information/variables-list#user-info) in embeds!
{% endhint %}

{% hint style="danger" %}
**NOTE:** You are required to set up these embeds, otherwise the modmail module will not work!
{% endhint %}

### Table of Contents

* **Ticket Open:** set up the embed reply that is sent to the member once their ticket successfully opens
* **Ticket Close:** set up the embed sent to the member via DM when their ticket is closed
* **Ticket New: s**et up the embed that appears in the forum post when a new ticket is created
* **Ticket Panel:** set up a ticket panel members can use to open a ticket
  * *an alternative of DMing the bot, members can use this method to create a modmail ticket*

***

{% tabs %}
{% tab title="Open" %}

### Setup Open Embed

Use `/manage ticket_open setup` to set up the reply embed

* **message:** specify a raw message sent above embed
* **embed props:** specify embed properties

<figure><img src="https://i.imgur.com/qU0jEiX.jpg" alt="" width="375"><figcaption></figcaption></figure>

### Editing Embed

* Use `/manage ticket_open edit` to configure the response
* **To clear properties:** `/manage ticket_open clear`

### Preview Embed

* Use `/manage ticket_open preview` to preview configured embed

### Reset Embed

* Use `/manage ticket_open reset` to reset the embed

{% hint style="warning" %}
Action will erase **all** configured data. Modmail will not work without this setting.
{% endhint %}
{% endtab %}

{% tab title="Close" %}

### Setup Embed

Use `/manage ticket_close setup` to set up the reply embed

* **message:** specify a raw message sent above embed
* **embed props:** specify embed properties

<figure><img src="https://i.imgur.com/ieA0esm.jpg" alt="" width="375"><figcaption></figcaption></figure>

### Editing Embed

* Use `/manage ticket_close edit` to configure the response
* **To clear properties:** Use the command `/manage ticket_close clear`

### Preview Embed

* Use `/manage ticket_close preview` to preview configured embed

### Reset Embed

* Use `/manage ticket_close reset` to reset the embed

{% hint style="warning" %}
Action will erase **all** configured data! Modmail will not work without this setting.
{% endhint %}
{% endtab %}

{% tab title="New" %}

### Setup Embed

Use `/manage ticket_new setup` to set up the reply embed

* **message:** specify a raw message sent above embed
* **embed props:** specify embed properties

<figure><img src="https://i.imgur.com/fqXYhy3.jpg" alt="" width="375"><figcaption></figcaption></figure>

### Editing Embed

* Use `/manage ticket_new edit` to configure the response
* **To clear properties:** `/manage ticket_new clear`

### Preview Embed

* Use `/manage ticket_new preview` to preview configured embed

### Reset Embed

* Use `/manage ticket_new reset` to reset the embed

{% hint style="warning" %}
Action will erase all configured data!. Modmail will not work without this setting.
{% endhint %}
{% endtab %}

{% tab title="Panel" %}

### Setup Panel

Use `/manage ticket_panel setup` to set up the ticket panel

* **message:** specify a raw message sent above embed
* **embed props:** specify embed properties for panel embed
* **button\_label:** specify label for button
* **button\_emoji:** specify desired emoji for button
* **button\_style:** specify desired colour of button | *Red, Green, Blue, Gray*

<figure><img src="https://i.imgur.com/drhqZAE.jpg" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
**Keep in mind:** this feature is **optional**! You can skip this section if you prefer members to just DM the bot directly instead of using the panel.
{% endhint %}

### Editing Panel

* Use `/manage ticket_panel edit` to configure your panel
* **To clear separate embed properties:** `/manage ticket_panel clear`

### Preview Panel

* Use `/manage ticket_panel preview` to preview your configured panel

### Send Panel to a Channel

* Use `/manage ticket_panel send` to send your panel to a channel!

<figure><img src="https://i.imgur.com/z8adXK4.jpg" alt="" width="563"><figcaption><p>Ensure you have set up the panel before attempting to initiate the command</p></figcaption></figure>

### Reset Panel

* Use `/manage ticket_panel reset` to reset your configured panel

{% hint style="warning" %}
Action will erase **all** configured data.
{% endhint %}
{% endtab %}
{% endtabs %}


---

# 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://nabi.gitbook.io/nabi/guides/modmail/customise-embeds.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.
