users_create_dm
Opens a DM channel with a user and returns the channel_id required to send private messages via the Discord API.
Instructions
Purpose: Open (or fetch) a DM channel between the bot and a user (POST /users/@me/channels).
When to use:
Send a private message to a user - Discord requires a DM channel id first.
Idempotent: repeat calls return the same DM channel id.
Note: User-scoped endpoint - does NOT accept audit_reason.
Returns: {channel_id, type, recipient_ids}. Use channel_id with messages_send to deliver the DM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipient_id | Yes | User to DM |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||