$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 $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!
Member04/23/2025
!!exec $DM[$authorID] This is a fantastic message!

Result (Sent to the Command Author's DM):

Your Custom Bot Bot 04/23/2025
This is a fantastic message!

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