Skip to content

$sendDm

$sendDm will Direct Message a given user.

Usage

$sendDm[message;userID?;returnID?]

Parameters

FieldTypeDescriptionRequired
messagestringThe content of the Direct Message.true
userID?stringThe user that will receive the DM.false
returnID?booleanReturn message ID?
1. true
2. false (default)
false

Example(s)

This will send a DM to the command author:

1
client.command({
2
name: "sendDm",
3
code: `
4
$sendDm[Hello!;$authorID;false]
5
`
6
});