# Setting Up a Leave Embed

If you want to make bidding farewell to members even more special, you can create a personalized leave embed message and send it when someone leaves your server. It's easy to get started - just use the Mochi embed builder to create your own customized message.&#x20;

<figure><img src="https://i.imgur.com/CdYfbRl.png" alt=""><figcaption><p>Create your leave embed with the mochi embed builder</p></figcaption></figure>

The <mark style="color:purple;">**`/leave embed`**</mark> command lets you select an embed message for when a member leaves your server.

<figure><img src="https://i.imgur.com/CtCabVE.png" alt="" width="563"><figcaption><p>Setting the leave embed </p></figcaption></figure>

Once the leave embed has been setup correctly, you will receive the following response:

<figure><img src="https://i.imgur.com/IpPtz9C.png" alt="" width="563"><figcaption><p>The leave embed has been successfully set for the server!</p></figcaption></figure>

The leave embed in action:

<figure><img src="https://i.imgur.com/LqZ5z1E.png" alt=""><figcaption><p>The welcome embed is now active in the server</p></figcaption></figure>


---

# 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.mochi.bot/tools-and-automation/leave-messages/setting-up-a-leave-embed.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.
