> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cuteco.re/llms.txt
> Use this file to discover all available pages before exploring further.

# Goodbye Messages

> Send automatic farewell messages when members leave your server.

## Overview

Goodbye messages fire automatically when a member leaves your server — whether they left voluntarily, were kicked, or were banned. Like [welcome messages](/configuration/welcome), goodbye messages use pom's [embed scripting system](/resources/embed-scripting) and support dynamic variables for personalized farewells.

You can configure multiple goodbye messages across different channels, and each one can be a plain text message, a rich embed, or both.

***

## Setting Up a Goodbye Message

<CodeGroup>
  ```bash Syntax theme={null}
  ,goodbye add <channel> <message>
  ```

  ```bash Example theme={null}
  ,goodbye add #goodbye {embed}$v{title: Goodbye!}$v{description: **{user}** has left the server. We now have {guild.count} members.}$v{color: #FF6B6B}$v{thumbnail: {user.display_avatar}}
  ```
</CodeGroup>

| Parameter | Type            | Required | Description                                                                    |
| --------- | --------------- | -------- | ------------------------------------------------------------------------------ |
| `channel` | Channel mention | Yes      | The channel where the goodbye message will be sent                             |
| `message` | Embed script    | Yes      | The message content using [embed scripting syntax](/resources/embed-scripting) |

***

## Managing Goodbye Messages

### View

See the raw embed script for a specific channel.

```bash theme={null}
,goodbye view #goodbye
```

### List All

Show all configured goodbye messages across the server.

```bash theme={null}
,goodbye list
```

### Remove

Stop sending goodbye messages in a specific channel.

```bash theme={null}
,goodbye remove #goodbye
```

### Clear All

Remove all goodbye messages across the entire server.

```bash theme={null}
,goodbye clear
```

<Warning>
  This removes **all** goodbye messages at once and cannot be undone.
</Warning>

***

## Testing

Preview your goodbye message using your own account.

<CodeGroup>
  ```bash Syntax theme={null}
  ,goodbye test [channel]
  ```

  ```bash Example theme={null}
  ,goodbye test
  ,goodbye test #goodbye
  ```
</CodeGroup>

***

## Self-Destructing Messages

Make goodbye messages auto-delete after a set time.

```bash theme={null}
,goodbye add #goodbye {embed}$v{title: Goodbye {user}!} --self_destruct 15
```

The value must be between **6** and **60** seconds.

***

## Example Goodbye Messages

### Simple

```
,goodbye add #general {message: **{user}** just left. We now have {guild.count} members.}
```

### Rich Embed

```
,goodbye add #goodbye {embed}$v{color: #FF6B6B}$v{title: Member Left}$v{description: **{user}** has left **{guild}**. They were member #{user.join_position_suffix}.}$v{thumbnail: {user.display_avatar}}$v{footer: {guild.count} members remain}$v{timestamp}
```

**Aliases:** `,leave`, `,bye`
