$isValidImageLink
$isValidImageLink will check if the given image link is valid.
Usage
$isValidImageLink[URL]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| URL | string | Direct Image link. | true |
Example(s)
This will return true as the given image link is valid:
1client.command({2 name: "isValidImageLink",3 code: `4 $isValidImageLink[https://cdn.discordapp.com/attachments/...]5 `6});