# Get Direct Message Channel

**Introduction**&#x20;

This step retrieves the direct message channel associated with a specific user, enabling private communication or actions.

**Configuration**

* **User**: Select the user with whom the private channel is associated. This is a required field. The system will retrieve or create a DM channel for this user.

**Outputs**

* **Channel**: The retrieved or newly created private (DM) channel associated with the specified user. This output includes the channel's details, facilitating further interactions or messaging within the private channel.

**Permissions**

* No specific permissions are required for this step, but the bot must have at least 1 server in common with the user and user must have server DMs enabled.


---

# 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.flexy.bot/modules/discord/steps/get-direct-message-channel.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.
