> For the complete documentation index, see [llms.txt](https://appdocs.moonitor.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appdocs.moonitor.tools/staff/adding-private-channels.md).

# Adding Private Channels

You can add a private channel that sends notifications whenever a new message appears. Moonitor supports both embed and text message pings. Only the mentioned roles will have access to that channel in

#### Command

Use the following command to add a private channel:

```
$monitor addpappchannel <#channel> @role
```

**Example:**

```
$monitor addpappchannel #channel @role
```

#### How It Works

* Moonitor automatically **detects links** in embeds or messages.
* If a **link is detected**, clicking the notification will **automatically open the link**.
* If **no link is detected**, the notification will **open the Discord channel instead**.
