$sendDm
$sendDm
will Direct Message a given user.
Usage
$sendDm[message;userID?;returnID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
message | string | The content of the Direct Message. | true |
userID? | string | The user that will receive the DM. | false |
returnID? | boolean | Return message ID? 1. true 2. false (default) | false |
Example(s)
This will send a DM to the command author:
1client.command({2 name: "sendDm",3 code: `4 $sendDm[Hello!;$authorID;false]5 `6});