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

# Welcome Messages

> Automatically greet new members when they join your server.

## Overview

Sent to a channel of your choice whenever a new member joins. Use plain text with [variables](/resources/scripting/variables), or a saved [embed](/resources/scripting/embeds).

## Commands

<CodeGroup>
  ```javascript Syntax theme={null}
  !welcome setup <channel> [embed] [message]
  !welcome status
  !welcome test
  !welcome disable
  ```

  ```javascript Example theme={null}
  !welcome setup #welcome --message "Welcome {user} to {server_name}!"
  !welcome setup #welcome welcome-embed
  ```

  ```text Result theme={null}
  ✅ Welcome messages will be posted to #welcome.
  Message: Welcome {user} to {server_name}!
  ```
</CodeGroup>

`embed` takes priority over `message` if both are set. `test` sends a preview using your own account, without anyone actually joining.
