Skip to content

$dm

$dm will send a message to an users Direct Messages.

Usage

$dm[userID]

Parameters

FieldTypeDescriptionRequired
userIDnumberThe user which shall receive the DM.true

Important:

  • You are unable to DM other bots.
  • You are unable to DM people who closed their DMs.

Example(s)

This will send an DM to you containing “Hello! Did you really think this works?“:

1
client.command({
2
name: "dm",
3
code: `
4
Hello! Did you really think this works?
5
$dm[$authorID]
6
`
7
});