> For the complete documentation index, see [llms.txt](https://invomagic.gitbook.io/ticketsdocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://invomagic.gitbook.io/ticketsdocs/welcomebye/goodbye.md).

# Goodbye...

If users leave your awesome server we can also wish them farewell with the Goodbye part of Welcome & Goodbye

## Setup

To setup the Goodbye System you'll need to run the `/goodbye setup` command this has 2 options and a message customization

### Status

This is whether or not to enable the Goodbye system, set this to Enable if you want to setup the Goodbye system

### Destination

The channel where your goodbye messages will be sent, we recommend setting a channel everyone can view

## Build your message

When you submit the command a form will popup will options to fill in.

<figure><img src="/files/mElapztThEfx2a7H3twA" alt="" width="188"><figcaption><p>The Form</p></figcaption></figure>

**Title:** The title for the embed

**Body:** This the description of the embed, use it to properly say farewell the user leacing your server, to mention the user you can use the `<leavinguser>` variable to have the user mention in the embed\
This has a max length of 1500 characters

**Color:** The color of your embed, this requires a hex code (E.G: #f02213) Google has a nice color picker here: <https://g.co/kgs/mrBYvyR>

## Output

When a user leaves your server Tickets will send your goodbye message.\
Here is an example from a real server below

<figure><img src="/files/fObJ393igu87JcY19tcb" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://invomagic.gitbook.io/ticketsdocs/welcomebye/goodbye.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
