> ## 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.

# Member Events

> What happens on join, leave, boost, ban and member updates.

| Event | Criminal's response |
| - | - |
| Member joins | Welcome message (if a channel is set), `autorole` if configured |
| Member leaves or is kicked | Goodbye message (if set) |
| Member boosts | Boost message and a log entry |
| Member banned or unbanned | Log entry, moderation case where applicable |
| Roles, nickname, timeout change | Log entry with who changed it |

## Join

Both actions are independent:

```text theme={null}
/config channel welcome-channel #welcome
/config role autorole @Member
```

A failed autorole (role above the bot, missing permission) logs a debug line and doesn't block the
welcome message.

## Leave

The goodbye message only fires on a member removal. Bans are reported through moderation and logs
instead, because a banned member's exit has its own case entry.

## Boost

Detection is `premium_since` changing from empty to set, so a boost posted once won't repeat on every
reconnect. Boost messages are configured separately from booster roles.

## Logging

Every event on this page also writes to the log channel when one is configured, including who made
the change where Discord exposes it. See [Server logs](https://docs.criminal.work/features/logging.md).


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