$sendDM Premium ONLY!
Sends the output of the code to the message author's DMs or to the DMs of a specified user.
Usage: $sendDM[userID;message]
userID: (Optional) The ID of the user to send the DM to. If omitted, the DM will be sent to the message author.message: The message to send in the DM.
Example 1: Sending a DM to the message author multiple times.
Note
You can send embeds using the Message Curl Format. This allows you to create richly formatted messages within the DM.
Related Functions
$channelSendMessage: Sends a message to a specific channel in the server.$sendMessage: Sends a message to the channel where the command was used.
Function Difficulty: Medium
Tags: Send Message DM send DM Message
⏱️ Function Cooldown
This function has a built-in cooldown to help prevent excessive usage.
| Property | Value |
|---|---|
| ⏱️ Duration | 2 seconds |
| 🆔 Tracked By | User |
| 🌐 Scope | Channeluser |
Functions with the same Scope share cooldowns based on the same
Tracked Byvalue.
💎 Tier 3+ servers bypass this cooldown. See Premium Perks.