$getMessage
$getMessage will return properties about a given message.
Usage
$getMessage[channelID;messageID;option?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| channelID | number | ID of the channel where the message is located in. | true |
| messageID | number | The ID of the message. | true |
| option? | string | Which option to fetch. | false |
Options
| Type | Description |
|---|---|
| content | Content of the message. |
| userID | Author User ID. |
| usertag | Author Discriminator. |
| username | Author Username. |
Example(s)
This will return the content of your sent message:
1client.command({2 name: "getMessage",3 code: `4$getMessage[$channelID;$messageID;content]5 `6});