Skip to content

$isValidImageLink

$isValidImageLink will check if the given image link is valid.

Usage

$isValidImageLink[URL]

Parameters

FieldTypeDescriptionRequired
URLstringDirect Image link.true

Example(s)

This will return true as the given image link is valid:

1
client.command({
2
name: "isValidImageLink",
3
code: `
4
$isValidImageLink[https://cdn.discordapp.com/attachments/...]
5
`
6
});