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

# Goodbye Message

> Say something when a member leaves or is removed.

```text theme={null}
/config channel goodbye-channel #goodbye
/config goodbye message "{user.name} left · {count} members remain"
```

Default text is `bye {user}`. Independent from the welcome message · you can run either on its own.

## When it sends

* A member leaves voluntarily.
* A member is kicked · Discord reports both as a member removal.

A ban does **not** trigger it; bans produce a moderation case and a log entry instead.

## Notes

* It fires after the member is gone, so a mention of `{user}` renders as their old username rather
  than a ping. Prefer `{user.name}` here.
* `{count}` is read after the leave, so it reflects the server without them.
* Reset with `/config goodbye reset` · the channel is left alone.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.