# Discord

## How do you tag a user in Discord?

To tag a user in your post, use this syntax:

```
`<@userid>`
```

## How can you access messages sent to a private channel?

To trigger workflows on messages sent to a private channel, you'll need to **add the Relay.app Discord bot** to the channel first. Relay.app relies on authorization of the bot to read message data. You can add the bot in a couple ways.

#### **Add the bot from the channel**

Click "Add members or roles" and select the Relay.app bot.

<figure><img src="/files/OMSdYUPmsM6o8FpXt7IH" alt="Discord channel menu showing &#x27;Add members or roles&#x27; option to invite users to a private channel" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/5EW739TccZJ8f2YlwgkA" alt="Discord member selection dialog showing the Relay.app bot available to be added to the channel" width="335"><figcaption></figcaption></figure>

#### Add the bot from the navigation menu

Click "Edit channel." Under "Permissions," select "Add members or roles" and add the Relay.app App.

<figure><img src="/files/M4rNTtAlpBYZjjLGaChy" alt="Discord channel edit permissions page with &#x27;Add members or roles&#x27; button highlighted" width="311"><figcaption></figcaption></figure>

<figure><img src="/files/lYwZ1z6M6M89aRw3fgRX" alt="Discord permissions dialog showing the Relay.app App being added with appropriate channel permissions"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.relay.app/app-specific-faqs/discord.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
