$hasEmbeds
$hasEmbeds will check if there are embeds attached to the message.
Usage
$hasEmbeds[messageID;channelID]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| messageID | number | ID of the message to check if it contains an embed. | true |
| channelID | number | ID of the channel where the message is located in. | true |
Example(s)
This will return false as there are no embeds attached to your message:
1client.command({2 name: "hasEmbeds",3 code: `4 $hasEmbeds[$messageID;$channelID]5 `6});