Premium ONLY!
$DMSends the output of your code directly to the author via Discord Direct Message (DM), or to the specified user ID's DM.
$dm[userID (optional)]
Usage: Explanation:
- The
$DM
function is used to send the result of the preceding code to a user's DM. - If no
userID
is provided, the message will be sent to the author of the command. - If a
userID
is 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