$DM Premium ONLY!
Sends the output of your code directly to the author via Discord Direct Message (DM), or to the specified user ID's DM.
Usage: $dm[userID (optional)]
Explanation:
- The
$DMfunction is used to send the result of the preceding code to a user's DM. - If no
userIDis provided, the message will be sent to the author of the command. - If a
userIDis provided, the message will be sent to the user with that ID.
Example:
Command Input:
!!exec $DM[$authorID] This is a fantastic message!
Result (Sent to the Command Author's DM):
Related Functions
$sendDM: Send the output of the console to a DM message. (More control over the DM)$channelSendMessage: Send a message to a specific channel in the server.$sendMessage: Send a message to the channel where the command was used.
Difficulty: Medium
Tags: Send Message DM Send DM Message
Function Cooldown
This function has built-in cooldown. Why? Read more about cooldowns here.
- Cooldown: 2 seconds
- Tracked By: User
- Type:
channeluser
Functions with the same type share cooldowns based on the same Tracked By value.