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

# DM on Join

> A direct message to new members, separate from the channel welcome.

## Overview

Sends a direct message to new members the moment they join, independent of the [channel welcome message](/onboarding/welcome). Useful for rules, an invite to introduce themselves, or anything you don't want cluttering a public channel.

## Commands

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

  ```javascript Example theme={null}
  !dmonjoin setup --message "Welcome to {server_name}! Check out #rules to get started."
  ```
</CodeGroup>

`embed` takes priority over `message` if both are set. `test` DMs yourself a preview.

<Warning>
  Members with DMs closed to non-friends simply won't receive it, there's no way for the bot to detect or work around this.
</Warning>
