$getMessage
$getMessage
will return properties about a given message.
Usage
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: